Wp-discourse-shortcodes plugin

Revisiting

:tada: I am happy to announce that the WP Discourse Shortcodes plugin now has support for the (experimental) topic list filter feature. :confetti_ball:

Next to source="latest" or source="top" you can now do source="filter" and put the filter query in the q parameter, like this

[discourse_topics source="filter" q="category:general,site-feedback"]

Don’t forget to enable the experimental_topics_filter setting first!

I’ve also fixed some bugs:

  • completely reworked caching (this also removes the need to have an id attribute)
  • usernames were not showing on non-English forums
  • add category filter to latest-AJAX

The plugin is still not in the Wordpress plugin repository, so you should git clone it from the repo

cd wp-content/plugins
git clone https://github.com/communiteq/wp-discourse-shortcodes

or alternatively upload this ZIP file to install it.
wp-discourse-shortcodes-0.40.zip (67.6 KB)

4 Likes