Skip to:
Content
Pages
Categories
Search
Top
Bottom

Topics: bbp_has_topics – post_parent = forum_id


  • Shmoo
    Participant

    @macpresss

    In bbPress 1.0 we had an array option called array( ‘exclude’ => ‘-3,-73,-103’ ) why is this gone in bbPress 2.0 ?

    First I thought okay it’s just turned around instead of excluding forum_ids we now include forum_ids but that’s not true.

    The post_parent is by default set to ‘any’ = 0 but you can only add one single forum_id you can’t do stuff like this.

    bbp_has_topics( array( ‘post_parent’ => ‘23,51,73,107’ ) )

    It’s show everything – one forum_id or nothing at all.

    What am I missing here?

  • You must be logged in to reply to this topic.
Skip to toolbar