# WP Discourse on Theme Lacking Site Editor

**URL:** https://meta.discourse.org/t/wp-discourse-on-theme-lacking-site-editor/388416
**Category:** WordPress
**Tags:** wordpress
**Created:** [November 13, 2025, 7:26pm UTC](https://meta.discourse.org/t/wp-discourse-on-theme-lacking-site-editor/388416 "2025-11-13T19:26:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![cogdog](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cogdog/32/116536_2.png) [@cogdog](https://meta.discourse.org/u/cogdog)
#### Post date: [November 13, 2025, 7:26pm UTC](https://meta.discourse.org/t/wp-discourse-on-theme-lacking-site-editor/388416/1 "2025-11-13T19:26:30Z")

</div>

I’ve been happy using the [WP Discourse](https://github.com/discourse/wp-discourse) plugin for [our podcast WordPress site](https://podcast.oeglobal.org/) to connect to our Discourse Community. I stopped seeing the Discourse discussions sometime ago after the latest plugin update.

I might be wrong but it looks like now the way to add it to a template is via Full site Editor (?). I might look to change but am very happy with my Anders Noren Garfunkle theme. It’s single post template has a layout that puts comments in a tabbed display at the bottom of the post, outside the range of widgets.

I did consider just manually adding a Discourse block to all posts, but for now have made an adjustment that inserts the Discourse discussions using the HTML code. In my child theme, I comment out the standard WordPress comments template (we only allow comments via Discord), and check the post meta data for a discourse ID.

```plaintext
<?php //comments_template( '', true ); ?>

<?php
	$discourse_topic_id = get_post_meta( $post->ID, 'discourse_topic_id', 1 ); ?>
	
	<?php if ($discourse_topic_id) : ?>
	
		<div id="discourse-comments"></div>

			<script type="text/javascript">
			  DiscourseEmbed = { discourseUrl: 'https://connect.oeglobal.org/',
								 topicId: '<?php echo $discourse_topic_id?>' };
			
			  (function() {
				var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true;
				d.src = DiscourseEmbed.discourseUrl + 'javascripts/embed.js';
				(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
			  })();
			</script>
	
<?php endif; ?>

```

It’s not as fancy a layout but works for now – [see bottom of newest episode](https://podcast.oeglobal.org/2025/11/06/voices-87/) for example.

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [November 14, 2025, 5:50pm UTC](https://meta.discourse.org/t/wp-discourse-on-theme-lacking-site-editor/388416/2 "2025-11-14T17:50:15Z")

</div>

Hey @cogdog glad to hear how you’re using the plugin. You mentioned using blocks. Have you tried the [WP Discourse](https://github.com/discourse/wp-discourse) Comment block?

> [@WP Discourse Comments Block](https://meta.discourse.org/t/wp-discourse-comments-block/249790):
>
> From version 2.4.7, the [WP Discourse](https://github.com/discourse/wp-discourse) Plugin includes a Discourse Comments block for the Block Editor. The Discourse Comments block is primary way to add Discourse Comments to a block-enabled theme such as Twenty Twenty Three. Here’s a short video on how to use the Discourse Comments block Next Step If you haven’t yet, make sure you check out: [Using Discourse for Wordpress Comments](https://meta.discourse.org/t/wp-discourse-and-commenting/223493)Notes The Discourse Comments block does not currently support the “Load Comments With Ajax” setting. To learn…

---

<div class="post-metadata">

### Author: ![cogdog](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cogdog/32/116536_2.png) [@cogdog](https://meta.discourse.org/u/cogdog)
#### Post date: [November 14, 2025, 6:02pm UTC](https://meta.discourse.org/t/wp-discourse-on-theme-lacking-site-editor/388416/3 "2025-11-14T18:02:12Z")

</div>

Yes, I use the [WP Discourse](https://github.com/discourse/wp-discourse) Comment Block on another site where we have a FSE theme so it is in the template.

My issue is that my [blog’s Garfunkel theme](https://andersnoren.se/teman/garfunkel-wordpress-theme/) does not support it, and the comments space is built into the template. I am not full on with a block theme development- can I insert a block via PHP in the template? I am looking at things like [Testing and Feedback for using block based template parts in classic themes – Make WordPress Themes](https://make.wordpress.org/themes/2022/09/12/testing-and-feedback-for-using-block-based-template-parts-in-classic-themes/) but am not quite sure how to integrate an existing block.

The only other way I could see is adding the [WP Discourse](https://github.com/discourse/wp-discourse) Comment Block at the bottom of every post, but I have 88 posts in the site already.

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [November 17, 2025, 12:51pm UTC](https://meta.discourse.org/t/wp-discourse-on-theme-lacking-site-editor/388416/4 "2025-11-17T12:51:42Z")

</div>

Ok, just rewinding a bit, let’s look at your issue again.

> [@cogdog](#):
>
> I stopped seeing the Discourse discussions sometime ago after the latest plugin update

Do you mean you mean that:

1. You _just_ updated the [WP Discourse](https://github.com/discourse/wp-discourse) plugin (and no anything else, i.e. not Wordpress, your theme or other plugins).
2. Comment sync stopped working

Is that what happened?
