Skip to:
Content
Pages
Categories
Search
Top
Bottom

Listing of the forums

  • Hello,

    i want to have a listing of the forums and i try this:

    <?php if ( $forums ) : ?>

    <?php if ( bb_forums() ) : ?>

    <?php bb_forum_pad( '<div class="nest">' ); ?>"><?php forum_name(); ?><?php bb_forum_pad( '</div>' ); ?>

    <?php endif; // bb_forums() ?>

    <?php endif; ?> but doesn’t work. why?

    bye

Viewing 1 replies (of 1 total)

  • _ck_
    Participant

    @_ck_

    You have to first have the list of the forums for that to work.

    add this to the top of that:

    <?php $forums = get_forums(); ?>

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar