# Use discourse as a commenting system in wordpress but integrate natively (not as an IFRAME)

**URL:** https://meta.discourse.org/t/use-discourse-as-a-commenting-system-in-wordpress-but-integrate-natively-not-as-an-iframe/257884
**Category:** Support
**Created:** [March 12, 2023, 8:59pm UTC](https://meta.discourse.org/t/use-discourse-as-a-commenting-system-in-wordpress-but-integrate-natively-not-as-an-iframe/257884 "2023-03-12T20:59:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jane\_Jojo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jane_jojo/32/119485_2.png) [@Jane\_Jojo](https://meta.discourse.org/u/Jane_Jojo)
#### Post date: [March 12, 2023, 8:59pm UTC](https://meta.discourse.org/t/use-discourse-as-a-commenting-system-in-wordpress-but-integrate-natively-not-as-an-iframe/257884/1 "2023-03-12T20:59:16Z")

</div>

Context:

> [@Making embedded JavaScript based discourse commenting responsive](https://meta.discourse.org/t/making-embedded-javascript-based-discourse-commenting-responsive/104039):
>
> I use discourse as the [commenting system](https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963?source_topic_id=74803) and here’s an example When you look at it from a mobile, you can see the content outside of the viewport. How can I fix it to be responsive? Here’s the code I use \<div id="comments" class="ct-post-end-section"\> \<div id='discourse-comments'\>\</div\> \<script type="text/javascript"\> DiscourseEmbed = { discourseUrl: 'https://comments.alittlebitofspice.com/', discourseEmbedUrl: '\<?php echo get\_permalink(); ?\>' }; (…

Been a long-time happy user, but over time I learned that not having an active NATIVE commenting system impacts SEO for food bloggers. With an IFRAME embed, Google does NOT recognize the discourse comment for each blog post to be its own content. After four years of running the commenting system, it’s bit me hard, especially when Google is looking for freshness activity indicators.

Has someone thought about a solution for this?

---

<div class="post-metadata">

### Author: ![denvergeeks](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/denvergeeks/32/327671_2.png) [@denvergeeks](https://meta.discourse.org/u/denvergeeks)
#### Post date: [March 12, 2023, 9:38pm UTC](https://meta.discourse.org/t/use-discourse-as-a-commenting-system-in-wordpress-but-integrate-natively-not-as-an-iframe/257884/2 "2023-03-12T21:38:02Z")

</div>

**@Jane_Jojo I use Discourse AS my blogging platform…**

**You can see my method here…**

> [@Page Publishing](https://meta.discourse.org/t/page-publishing/151971/145):
>
> An alternative to Page Publishing - another method is to use CSS to remove the unwanted elements on a regular Topic Post, while preserving all of the functionality (i.e. Javascripts in installed Theme Components, and CSS styling, etc.) Tags in the composer can be used to selectively apply formatting to a specific Topic Post. For example, on my site I achieve this by pasting the following CSS into my theme’s CSS in the Common tab: /\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* REMOVE THINGS FROM LAYOUT USING TAGS \*\*…

**And you can see my site here…**

> **[n👀bish.me](https://noobish.me/)**
>
> This is a place for sharing innovations and conversations about simplifying. I am eager to simplify. I revisit, rework, and reinvent everything, continuously, in my mission to simplify, and to recognize and remove barriers.
