# Wordpress posts published to Discourse include HTML?

**URL:** https://meta.discourse.org/t/wordpress-posts-published-to-discourse-include-html/246439
**Category:** WordPress
**Created:** [November 22, 2022, 4:47pm UTC](https://meta.discourse.org/t/wordpress-posts-published-to-discourse-include-html/246439 "2022-11-22T16:47:56Z")
**Posts on this page:** 1
**Showing post:** 6

<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 25, 2022, 8:09am UTC](https://meta.discourse.org/t/wordpress-posts-published-to-discourse-include-html/246439/6 "2022-11-25T08:09:04Z")

</div>

Hey @vanclute

> [@vanclute](#):
>
> I don’t want to go editing WP files

You don’t need to. As @Jagster pointed out on your other topic

> [@Possible to publish from Wordpress only a specified category?](https://meta.discourse.org/t/possible-to-publish-from-wordpress-only-a-specified-category/246437/4):
>
> Install Code Snippet or similar and do that through it

> **[Code Snippets](https://wordpress.org/plugins/code-snippets/)**
>
> An easy, clean and simple way to enhance your site with code snippets.

This is how Wordpress is designed to be used. It’s an open source platform that supports a decent chunk of the sites on the web. This diversity means that the off the shelf settings are never going to satisfy everyone.

> [@vanclute](#):
>
> The html “small” tags are breaking the pretty preview on everything that’s pushed into Discourse from WP. ☹

Please read the topic I linked. You can change that to your liking using the methods described there

> [@Customize the structure of WP Discourse templates](https://meta.discourse.org/t/customize-the-structure-of-wp-discourse-templates/50754#add-the-featured_image-to-the-publish-template-7):
>
> The [WP Discourse](https://github.com/discourse/wp-discourse) plugin uses HTML templates to add markup to Discourse comments for publishing on WordPress and to WordPress posts for publishing on Discourse. The text content of these templates can be customized on the plugin’s options page. To change the structure of a templates requires you to add a function to your theme’s functions.php file This #howto will explain how to do that. The templates In the plugin’s code, the templates are static functions that return a mixture of html and templ…

If you get stuck with that just respond to that topic and I’ll help you 🙂

---

_[View the full topic](https://meta.discourse.org/t/wordpress-posts-published-to-discourse-include-html/246439)._
