Topic Index Shortcode: Filter By Certain Forums?
I want to use the [bbp-topic-index] shortcode, however I really want to filter by A) Public Forums, and/or B) certain forums.
When you use the topic-index shortcode, it spits out topics regardless of the forum. The problem with this is that I use BuddyPress and there are groups with private forms. I don’t want the topic-index shortcode to display these private forums.
Now, I could use the [bbp-single-forum id=$forum_id] shortcode. The problem with this, however, is that it will display ALL of the topics for that forum. Now, I COULD hide everything after the first 15 or so topics with CSS, but this is a pretty terrible solution because 1) a boatload of topics are still going to (unnecessarily) be part of the HTML markup and widespread use of display:none is bad for SEO.
- You must be logged in to reply to this topic.