Skip to:
Content
Pages
Categories
Search
Top
Bottom

Use BBpress in message board style


  • iamtheroman
    Participant

    @iamtheroman

    Hello,

    I just installed bbpress and am quite impressed. Unfortunately, though I need a solution that works in a message board format, where topics are started and replies to those topics all show up in one big list, instead of breaking them down into their own sub categories. An example of this would be the forum on Stockhouse, found here http://www.stockhouse.com/companies/bullboards/bb?s=BB&t=LIST.

    Is this possible with BBpress?

    Thank you!

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

  • Shane Gowland
    Participant

    @thewebatom

    Create a page and use the `[bbp-topic-index]` shortcode to display all topics from across every forum.


    iamtheroman
    Participant

    @iamtheroman

    Hello,

    Thanks for your reply. Unfortunately that’s not quite what I’m lookging for. Here’s an example:

    Topics:

    RE:RE: Sample Topic Posted Feb 3st, 2012
    RE: Sample Topic Posted Feb 2st, 2012
    Sample Topic Posted Feb 1st, 2012

    —-

    As opposed to clicking on “Sample Topic” and being brought to the “Sample Topic” page with each reply listed below.

    Basically, each reply to a topic is its own post and has its own page.

    Reference http://www.stockhouse.com/companies/bullboards/bb?s=BB&t=LIST for a good example.

    Thanks again.

    Indeed you can do this, you just need to use a custom query to query both topic & reply custom post types.

    `function my_get_posts( $query ) {

    if ( is_home() && $query->is_main_query() )
    $query->set( ‘post_type’, array( ‘topic’, ‘reply’ ) );

    return $query;
    }
    add_filter( ‘pre_get_posts’, ‘my_get_posts’ );
    `

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

You must be logged in to reply to this topic.