# WP-discourse: how to deal with shortcodes in post

**URL:** <https://meta.discourse.org/t/wp-discourse-how-to-deal-with-shortcodes-in-post/58838>\
**Category:** WordPress\
**Created:** [10. März 2017 um 17:15 UTC](https://meta.discourse.org/t/wp-discourse-how-to-deal-with-shortcodes-in-post/58838 "2017-03-10T17:15:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)\
**Post date:** [6. April 2017 um 00:06 UTC](https://meta.discourse.org/t/wp-discourse-how-to-deal-with-shortcodes-in-post/58838/3 "2017-04-06T00:06:11Z")

</div>

I solved this by circumventing the content of the post and merely exporting the post url via the plugin while making sure that it will be oneboxed, like this:

> [@WP Discourse plugin tips and tricks](https://meta.discourse.org/t/wp-discourse-plugin-tips-and-tricks/50757/3):
>
> You can edit the ‘publish\_format’ template so that your published WordPress posts are oneboxed. Look at this post for details: [Customize the structure of WP Discourse templates - #6](https://meta.discourse.org/t/wp-discourse-template-customization/50754/6)

---

_[View the full topic](https://meta.discourse.org/t/wp-discourse-how-to-deal-with-shortcodes-in-post/58838)._
