Lately I’ve had a couple of people ask me if it was possible to show the most recent topics on the forum homepage of their BBPress Forums. This is quite easy by adding the following snippet to functions.php of your active (child) theme.

You can see this in action on our PressCrew Community Forums. Enjoy!

Tired of having a slow BuddyPress community?

Slow speeds kill good communities. The WeFoster Platform is built from the ground up for lightning fast WordPress community hosting. 

Free Migrations and 7 Day Free Trial included.

Lightning fast managed hosting, rock-solid security and expert support for your Social Network, Membership Site, Learning Management System or anything in between.
LivIcons Evolution


Thanks to our CommunityCaching technology WordPress communities hosted on the WeFoster Platform are on average up to 6x faster than when hosted on a traditional webhost.
LivIcons Evolution


WeFoster lets you relax and focus on building your community, whilst our experts take care of protecting your site from hackers and other security threats.
LivIcons Evolution


Our next-generation container technology can even handle the biggest traffic spikes. With no limit on pageviews and our grow-as-you-go pricing plans you’ll never be punished for making your community a success.
LivIcons Evolution


WeFoster is also a free network of community site experts, builders, managers and enthusiasts. Get inspired, get answers, get connected and grow your community.

5 thoughts on “Add Recent Topics to your BBPress Forums homepage

Author gravatar

Hi ,
Thanks for the code.
Can you please provide the short code so that i can list the recent topics the way we can see in recent topic widget.

I just want the name of the topic to be listed and after clicking on it it should navigate on specific topic.

Please find the example as below 🙂

Recent Topics

>Storage Disease
>Basic Disease
>Heart Failure
>Respiratory Medicine


Author gravatar

thank you for this, is there any way to add it so it would show in topics and subforums as well?

Author gravatar

(corrected email for replies notification)

Do you have code that has this same functionality but where I can specify the Forum of the recent topics to pull from using the Forum ID?

Leave a Reply

Your email address will not be published. Required fields are marked *