How To Display BBPress Forum Topics Using PHP On WordPress

Displaying Recent Forum Topics On WordPress

BBPress is a great forum plugin for WordPress and adding recent BBPress forum topics to any php file is very simple.

Copy and paste the php code below to your theme’s template file(s) where you want recent forum topics to be displayed.

<?php bbp_get_template_part( 'bbpress/content', 'archive-topic' ); ?>

Use this code to show forum topics on archives, sitemaps, and other template pages. Many have used this forum topic code to display forum threads on their WordPress home page.


Sean Doyle

http://Botcrawl.com

Sean Doyle is an engineer from Los Angeles, California. Sean's primary focuses include Internet Security, Web Spam, and Online Marketing.