Wp-discourse-shortcodes plugin

The big issue with this plugin still is the inabillity to include/exclude by category. In a private membership based forum you either see all the categories or you get none, which means there’s no way to exclude staff topics from being shown to the wider member base.

However, it seems like an easy workaround could be commenting out the ajax request and relying exclusively on the webhook. We have triggers setup to exclude the staff category in the webhook…

And this works to temporarily block new staff discussions until the ajax call is eventually made.

So maybe just comment out the ajax call?..

Am I overlooking something that would make this approach inadvisable?

1 Like