I found a WP plugin for Discourse, claiming that they can define the ‘Category’
→ GitHub - discourse/wp-discourse: WordPress plugin that lets you use Discourse as the community engine for a WordPress blog · GitHub
I am looking into the code but I can’t seem to find how they do it. If someone is familiar with this plugin I’d love to know if this is working or just wishful thinking ;(

What I wish for:
<script type="text/javascript">
var discourseUrl = "http://forums.domain.tld/",
discourseUserName = 'Username',
discourseEmbedCategory = 'Category/Sub-category',
discourseEmbedUrl = 'http://forums.domain.tld/article-url.html';
(function() {
var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true;
d.src = discourseUrl + 'javascripts/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
})();
</script>