Skip to:

Topic Index Shortcode: Filter By Certain Forums?

  • oguruma


    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.

    Any ideas?

Viewing 1 replies (of 1 total)

  • Robin W


    the [bsp-display-topic-index] shortcode in my style pack plugin may be what you need

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>shortcodes to see how it works

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar