dezzzus (@dezzzus)

Forum Replies Created

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

  • dezzzus
    Participant

    @dezzzus

    Ooh, thank you very much!


    dezzzus
    Participant

    @dezzzus

    Hi,
    I want forum looking like phpbb, example below. Where I marked the categories and forums must look like.
    I trying to detect categories with this code:

    <?php $q_meta_forums1 = array( 'meta_key' => '_bbp_forum_type', 'meta_value' => 'category'); ?>
    <?php $categories_q = new WP_Query( $q_meta_forums1 ); ?>

    But $categories_q returns nothing. It’s the main problem for now.
    So, then I want in loop-forums.php with code above build categories structure and in ‘while’ cycle make another one which will be show sub-forums of categories.
    Example


    dezzzus
    Participant

    @dezzzus

    ok, may be you know how to distinguish forum type via WP_Query()?
    $query = new WP_Query('post_type=category'); – not working.


    dezzzus
    Participant

    @dezzzus

    I mean where in sources the file which define the forums types.

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