Skip to:
Content
Pages
Categories
Search
Top
Bottom

query all posts from all subforums of a category


  • illuminat
    Participant

    @illuminat

    Hi there, I want to query all Posts from a category (i.e. “english”, id 2075) for a widget. The Query:

    $topics_query = array(
                                                'author'         => 0,
                                                'posts_per_page' => 10,
                                                'show_stickies'  => false,
                                                'order'          => 'DESC',
                                                'post_parent' = 2075;
                                );
    

    only returns the topics of category (forum) 2075 but not of the subforums. Is there an additional parameter that i can add to the query for

    bbp_has_topics( $topics_query )? Thanky ou very much for help

    • This topic was modified 11 years, 6 months ago by illuminat.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar