# Add/Override Schema on a Specific Topic

**URL:** https://meta.discourse.org/t/add-override-schema-on-a-specific-topic/332530
**Category:** Development
**Created:** [October 24, 2024, 11:25am UTC](https://meta.discourse.org/t/add-override-schema-on-a-specific-topic/332530 "2024-10-24T11:25:15Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![chrismalone](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrismalone/32/506946_2.png) [@chrismalone](https://meta.discourse.org/u/chrismalone)
#### Post date: [October 24, 2024, 11:25am UTC](https://meta.discourse.org/t/add-override-schema-on-a-specific-topic/332530/1 "2024-10-24T11:25:15Z")

</div>

I need to add schema to a specific topic on forum. It’s a directory page that would benefit from schema specifically for the data on the page. Could someone point me in the right direction. All I have really seen is that you have to override show.html.erb - but I haven’t found anything else about the validity of that or how to do it. I appreciate the assistance!

---

<div class="post-metadata">

### Author: ![chrismalone](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrismalone/32/506946_2.png) [@chrismalone](https://meta.discourse.org/u/chrismalone)
#### Post date: [December 3, 2024, 4:08pm UTC](https://meta.discourse.org/t/add-override-schema-on-a-specific-topic/332530/2 "2024-12-03T16:08:50Z")

</div>

I’m bumping this to see if someone else might see it who would have some ideas. This is specifically referring to Published Pages pages that we have created. Thanks for any help you might offer.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [December 3, 2024, 4:10pm UTC](https://meta.discourse.org/t/add-override-schema-on-a-specific-topic/332530/3 "2024-12-03T16:10:03Z")

</div>

> [@How to edit topics/show.html.erb](https://meta.discourse.org/t/how-to-edit-topics-show-html-erb/234992/2):
>
> You don’t want to do it that way. You need to develop a plugin (or perhaps theme component). See [Beginner’s Guide to Creating Discourse Plugins Part 1: Creating a basic plugin](https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins-part-1-creating-a-basic-plugin/30515) and [Developer’s guide to Discourse Themes](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648).

> [@How to Add Unique HTML Content Below Topic Body in discourse forum for Specific Topics](https://meta.discourse.org/t/how-to-add-unique-html-content-below-topic-body-in-discourse-forum-for-specific-topics/311555):
>
> I am working on an discourse forum and I need to add unique HTML content below the topic body for specific topics. The HTML content should be displayed only on certain topics and not on all topics. Currently, I have added the HTML content using the following code: \<script type="text/x-handlebars" data-template-name="connectors/topic-area-bottom/custom-html"\> \<div class="banner-control"\> \<!-- Unique HTML content goes here --\> \</div\> \</script\> This code is added to the connectors/topic-…

---

<div class="post-metadata">

### Author: ![chrismalone](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrismalone/32/506946_2.png) [@chrismalone](https://meta.discourse.org/u/chrismalone)
#### Post date: [December 3, 2024, 4:22pm UTC](https://meta.discourse.org/t/add-override-schema-on-a-specific-topic/332530/4 "2024-12-03T16:22:16Z")

</div>

Thank you @Lilly . I really appreciate these. I’ll follow this trail.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [December 3, 2024, 4:32pm UTC](https://meta.discourse.org/t/add-override-schema-on-a-specific-topic/332530/5 "2024-12-03T16:32:18Z")

</div>

Hey Chris. If the second link above doesn’t help you, send me an email and the URL of the published pages and tell me what you’re trying to do.

---

<div class="post-metadata">

### Author: ![chrismalone](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrismalone/32/506946_2.png) [@chrismalone](https://meta.discourse.org/u/chrismalone)
#### Post date: [December 3, 2024, 5:41pm UTC](https://meta.discourse.org/t/add-override-schema-on-a-specific-topic/332530/6 "2024-12-03T17:41:40Z")

</div>

Hi Jay. Thanks, I’ll let you know.
