Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding bbPress functions to WordPress


  • parthatel
    Member

    @parthatel

    I managed to add the WordPress functions to bbPress, but I now need to know how I can add the bbPress functions to WordPress. I want to include the exact “Discussions” code in “front-page.php” of bbPress to the “index.php” in WordPress. I know there is a plugin for this, but it wasn’t what I wanted.

    I used this code to integrate WordPress into bbPress (added to the top of bb_config.php)

    define('WP_BB', true);

    if ( !defined('DB_NAME') ) {

    require_once( dirname(__FILE__) . '/../wp-config.php');

    if ( !defined(‘BB_PATH’) )

    define(‘BB_PATH’, dirname(__FILE__) . ‘/’ );

    require_once( BB_PATH . ‘bb-settings.php’ );

    I think all I need to do is require bb-config.php and then the bb-settings.php. Anyone know how to do this (following the php example above)?

    *I only wish I know php.

You must be logged in to reply to this topic.