Skip to:
Content
Pages
Categories
Search
Top
Bottom

how to add new loop template ?

  • @80giga

    Member

    hi,

    please how can i add a new loop template ?


    explication :


    in :

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

    <?php bbp_get_template_part( ‘bbpress/loop’, ‘topics’ ); ?>

    <?php else : ?>

    it load the template : loop-topics.php

    exemple i need to do a copie of this template : loop-topics2.php

    i will use :

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

    <?php bbp_get_template_part( ‘bbpress/loop’, ‘topics2’ ); ?>

    <?php else : ?>

    but i do not work !

  • You must be logged in to reply to this topic.
Skip to toolbar