Skip to:
Content
Pages
Categories
Search
Top
Bottom

counting subforums

  • is there a way to force bb-press to show/count “also” the number of subforums instead only the amount of topics?

    (coders the following code might hurt your eyes but i’am (not yet) so skilled in php, i’m really sorry)

    kinda…

    <?php if ( bb_forums() ) : ?>
    <table class="etcetera">
    <tr>
    <td>
    <?php bb_forum_pad...etctera>
    </td>
    <td class="info">
    <?php forum_topics(); ?>
    </td>
    </tr>
    </table>

    <?php else( bla() ) : ?>

    <?php if ( bb_forums() ) : ?>
    <table class="etcetera">
    <tr>
    <td>
    <?php bb_forum_pad...etctera>
    </td>
    <td class="info">
    <?php forum_subforums(); ?>
    </td>
    </tr>
    </table>

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