Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How do i/Can i Integrate my bbPress forum into my WordPress layout..?


Paul
Member

@bigredpaul

I have a link to my forum in my global nav by creating an empty page with a slug that is the same as the directory name as where I have bbpress installed.

But I also load the wp-load.php file in my bb-config.php file

define('WP_BB', true);
if ( !defined('DB_NAME') ) {
require_once( dirname(__FILE__) . '/../wordpress/wp-config.php');
}
$bb->wp_table_prefix = 'wp_'; // your wordpress db prefix is
$bb->wp_home = 'http://www.trashfilmorgy.com/wordpress';
$bb->wp_siteurl = 'http://www.trashfilmorgy.com';

Then I went into my bbpress theme and changed every instance of bb_get_header() with get_header(), and bb_get_footer() with get_footer().

Since I want to have my wordpress sidebars show up in the forum, too, I also added get_sidebar() right above the call to get_footer().

I could also add other sidebars, too – the theme I use adds two columns below the main content area and uses the dynamic sidebar functionality to add them in to each page. I could see how adding other or more sidebars and going in to the templates could be really useful

Skip to toolbar