Skip to:
Content
Pages
Categories
Search
Top
Bottom

Query to show selected topics by ids

Viewing 3 replies - 1 through 3 (of 3 total)

  • Robin W
    Moderator

    @robin-w

    [bbp-single-topic id=$topic_id] – Display a single topic. eg. [bbp-single-topic id=4096]


    AKdigital
    Participant

    @akdigital

    Thanks,

    I found this, but I’m looking for a way to show list of topics,
    I want to be able to pass id’s (not single ID)

    something like

    [bbp-many-topic id=$topics_ids]


    Robin W
    Moderator

    @robin-w

    nothing I know of doe this at the moment

    If it’s a fixed list then just cascade eg

    [bbp-single-topic id=4096]
    [bbp-single-topic id=4097]
    [bbp-single-topic id=4099]
    [bbp-single-topic id=4099]

    if you’re doing it programmatically then just do the ‘echo_shortcode’ in a foreach loop

    or crack open /inclues/common/shortcodes and you can use the code form there to create what you want

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