# Discourse + WordPress embed block

**URL:** <https://meta.discourse.org/t/discourse-wordpress-embed-block/112351>\
**Category:** Feature\
**Tags:** wordpress\
**Created:** [March 22, 2019, 5:38pm UTC](https://meta.discourse.org/t/discourse-wordpress-embed-block/112351 "2019-03-22T17:38:17Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [March 22, 2019, 6:50pm UTC](https://meta.discourse.org/t/discourse-wordpress-embed-block/112351/3 "2019-03-22T18:50:51Z")

</div>

I think the idea here is that blocks can be used to replace what could only be done with shortcodes in the past. For example the wp-discourse-shortcodes `discourse_topics` shortcode could be replaced with a block. A similar approach could be used for embedding a post. I don’t think this should be done by embedding an iframe - the topics or posts should be pulled from Discourse as JSON via the API and then converted to HTML.

---

_[View the full topic](https://meta.discourse.org/t/discourse-wordpress-embed-block/112351)._
