Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbpress loop

  • While customizing bbpress I was wondering if anyone had a way to display forums/subforums and topics together, list a forum then have the topics for each displayed below it?

Viewing 1 replies (of 1 total)

  • _ck_
    Participant

    @_ck_

    What you are asking for is very easy.

    $forums = get_forums(); gets you all the forums,

    $topics = get_latest_topics( $forum_id); will get you the topics list for any forum id. So if you looped through the forums like on the front page, just fetch the $topics after each forum in the loop.

    The formatting and page layout is the “hard” part.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.