# Modified wp-discourse to choose category per post

**URL:** <https://meta.discourse.org/t/modified-wp-discourse-to-choose-category-per-post/28883>\
**Category:** WordPress\
**Created:** [16.Май.2015 09:29:40 UTC](https://meta.discourse.org/t/modified-wp-discourse-to-choose-category-per-post/28883 "2015-05-16T09:29:40Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![paxmanchris](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paxmanchris/32/116126_2.png) [@paxmanchris](https://meta.discourse.org/u/paxmanchris)\
**Post date:** [16.Май.2015 09:29:41 UTC](https://meta.discourse.org/t/modified-wp-discourse-to-choose-category-per-post/28883/1 "2015-05-16T09:29:41Z")

</div>

With wp-discourse you can only select one discourse category in which your posts get published. In our context we have multiple categories we want to use and to be able to select that per post; blog posts to **Blog** , and product posts to **Products**.

I modified wp-discourse to add the category drop down on the publish meta box, and used it as the published discourse category. I have my code on github, I think its a neat idea and I would like your feedback. Check it out:

- [GitHub - PaxInstruments/wp-discourse: WordPress plugin that lets you use Discourse as the community engine for a WordPress blog · GitHub](https://github.com/PaxInstruments/wp-discourse)

---

_[View the full topic](https://meta.discourse.org/t/modified-wp-discourse-to-choose-category-per-post/28883)._
