Small bug adding recent topics to forum homepage
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">
<?php bbp_get_template_part( 'bbpress/content', 'archive-forum' ); ?>
<h3><?php _e( 'Recent Topics: ', 'bbpress' ); ?></h3><br />
<?php bbp_get_template_part( 'bbpress/content', 'archive-topic' ); ?>
</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.
- You must be logged in to reply to this topic.