Ooh, thank you very much!
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.
ok, may be you know how to distinguish forum type via WP_Query()?
$query = new WP_Query('post_type=category');
– not working.
I mean where in sources the file which define the forums types.