Skip to:
Content
Pages
Categories
Search
Top
Bottom

Is it possible to show topics from 2 specific forums ?


  • gplana
    Participant

    @gplana

    Hi.

    I’m trying to show topics from 2 specific forums to show them mixed. I’m trying this:

    <?php $args = array(“post_parent” => array(347, 501)); ?>

    <?php if ( bbp_has_topics($args) ) : ?>

    where 347 and 501 are forum ids.

    but the above code doesn’t work. It looks like post_parent only accepts a single id but not an array of ids; because this works:

    <?php $args = array(“post_parent” => 347); ?>

    So is it possible to show topics from 2 specific forums ?

    Thank you.

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

You must be logged in to reply to this topic.