Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Working as a Page in my theme.

1. U need to load wordpress function inside bbpress.

Put this inside config.php “require_once(‘/path/to/wp-blog-header.php’);”

2. Use wp template tag inside your bbpress template.

For example. Make a clean header.php and put “<?php get_header(); ?>”. Replace it with your bbpress-template header.php.

To make sure bbpress gonna look alike your wp static page. I suggest u try refer single.php or page.php inside your wp theme folder.

Here is my example. Using Kubrick page.php

//Start Header.php

<?php get_header(); ?>

<div id=”content” class=”narrowcolumn”>

<div class=”post” id=”post-forum”>

<div class=”entry”>

//End Header.php

//Example item = front-page.php

//Start Footer.php

</div>

</div>

</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>

//End Footer.php

So everytime u load bbpress index.php you will get the same page like your static wp page.

3. Add some of bbpress css style inside your wp css file.

Im sure u not gonna use all bbpress style maybe only some of it. Maybe you can start copy bbpress style from this point “/* Front Page=================================== */” untill the end.

I dont know if this gonna help you but i try my best to keep it simple :) hope it gonna do some help.

Side note: to load bbpress as wp static page. Create new page, and set “post slug” = “bbpress folder”

Skip to toolbar