Skip to:
Content
Pages
Categories
Search
Top
Bottom

Small bug adding recent topics to forum homepage


  • Anointed
    Participant

    @anointed

    I am using custom theme templates from bbPress within my own theme. So no shortcodes or creating pages etc.

    What I am trying to do is to show the list of most recent topics below the forum list on the forum homepage.

    I am using the following code:

    <div id="forum-front" class="bbp-forum-front">
    <div class="entry-content">

    <?php bbp_get_template_part( 'bbpress/content', 'archive-forum' ); ?>
    <br><br>
    <h3><?php _e( 'Recent Topics: ', 'bbpress' ); ?></h3><br />
    <?php bbp_get_template_part( 'bbpress/content', 'archive-topic' ); ?>

    </div>
    </div><!-- #forum-front -->

    This seems to work, however, the pagination for the topics is wrong. Currently it tries to go to /forums/forum/last-forum-title/page/2/

    It should go /topics/page/2/

    Using the default bbPress templates within my own theme, what would I add to the archive-forum.php file in order to show recent topics with pagination that works right?

    *I saw that devpress managed to pull it off, so asked over there as well.

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