bbpress-recent-posts
Code Snippets

Add Recent Topics to your BBPress Forums homepage

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!

About Bowe Frankema

 Add Recent Topics to your BBPress Forums homepage Building communities on BuddyPress is something I’m very passionate about. The decision to focus exclusively on BuddyPress projects over the last few years inspired me to share back some of the things I've learned here on BP-Tricks! You can find me on WordCamps & BuddyCamps across the globe and on Twitter! Follow me on Twitter

I'm constantly updating my BuddyPress Hosting Guide and SiteGround and WPEngine
have proven to be a great fit for hosting your BuddyPress community.

Need some help finding the perfect host? Check out my in-depth BuddyPress Hosting guide!

Discussion

5 responses to ‘Add Recent Topics to your BBPress Forums homepage

  1. 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
    >Anticoagulation
    >Heart Failure
    >Respiratory Medicine

    Regards,
    Harsh

  2. (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 *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>