Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Show only Parent Forums

@driz

Member

I tried the code zaerl posted, but it when viewing forums it requires the $forum_id within the function to display the correct stuff otherwise it will show the same as the front page and not the selected forums subforums. I need to use $forum_id with the array posted so I only get the top level forums within the chosen forum.

I tried doing this to see if it would combine the two:

if(bb_forums($forum_id, array(‘where’ => ‘where forum_parent = 0’)))

but it just showed all the forums for that forum and not just the parents

Skip to toolbar