# Embedding a category

**URL:** https://meta.discourse.org/t/embedding-a-category/32880
**Category:** Support
**Tags:** embedding, wordpress
**Created:** [September 3, 2015, 7:00pm UTC](https://meta.discourse.org/t/embedding-a-category/32880 "2015-09-03T19:00:41Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![roarkely](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roarkely/32/45644_2.png) [@roarkely](https://meta.discourse.org/u/roarkely)
#### Post date: [September 3, 2015, 7:00pm UTC](https://meta.discourse.org/t/embedding-a-category/32880/1 "2015-09-03T19:00:41Z")

</div>

I know that we can embed a topic, and I know that we can assign a category for new topics based on the embedding host. But is it possible to embed a category?

Here is the use-case we are exploring: A private Wordpress site with separate groups (e.g. Cat People, Dog People, Chicken People). Each group has a matching category in Discourse for their forums. On Wordpress we would like to embed the category for each group, listing the last 5-10 active topics. A user can click on a topic in Wordpress and join the conversation through Discourse.

I’ve seen that Twig Anything is one way to solve this problem, but is there a more “native” solution that I havn’t run into yet?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 3, 2015, 9:12pm UTC](https://meta.discourse.org/t/embedding-a-category/32880/2 "2015-09-03T21:12:57Z")

</div>

Can’t you just grab the RSS feed for the category?

---

<div class="post-metadata">

### Author: ![roarkely](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roarkely/32/45644_2.png) [@roarkely](https://meta.discourse.org/u/roarkely)
#### Post date: [September 4, 2015, 1:04pm UTC](https://meta.discourse.org/t/embedding-a-category/32880/3 "2015-09-04T13:04:27Z")

</div>

Sure could! Either the JSON or RSS representation will give us the data for the category. Getting the data in a Discourse-like UI would be all the better (and easier).

---

<div class="post-metadata">

### Author: ![sniepoort](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sniepoort/32/62922_2.png) [@sniepoort](https://meta.discourse.org/u/sniepoort)
#### Post date: [October 17, 2016, 12:21pm UTC](https://meta.discourse.org/t/embedding-a-category/32880/4 "2016-10-17T12:21:34Z")

</div>

+1 for getting the data in a Discourse like UI.  
Any developments on this? Or is the only option still just pulling from a RSS feed?

---

<div class="post-metadata">

### Author: ![thaidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thaidb/32/68488_2.png) [@thaidb](https://meta.discourse.org/u/thaidb)
#### Post date: [August 21, 2018, 4:43pm UTC](https://meta.discourse.org/t/embedding-a-category/32880/5 "2018-08-21T16:43:43Z")

</div>

Hello everyone,  
I wanna sync 2 category below:

> “Nhà đất cho thuê” with URL: ` https://bdser.vn/c/nha-dat-cho-thue`

push to:

> “Nhà đất cho thuê” with URL `https://canthuenhadat.com.vn/c/nha-dat-cho-thue`

I setup as follows but i don’t now right or correct, everyone help me!

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/b/5b3d8e9a39204e6a3083bff609f8fb63da8274a3.png)

```
<div id='discourse-comments'></div>

<script type="text/javascript">
  DiscourseEmbed = { discourseUrl: 'https://canthuenhadat.com.vn/',
                     discourseEmbedUrl: 'https://bdser.vn/c/nha-dat-cho-thue' };

  (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> 

```

After, i copy code and embed code to new topic in Canthuenhadat.com.vn, but not effect! ☹

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 2, 2021, 2:06am UTC](https://meta.discourse.org/t/embedding-a-category/32880/6 "2021-04-02T02:06:07Z")

</div>


