bbPress

Simple, Fast, Elegant

bbPress support forums » Installation

Adding bbPress functions to Wordpress

(1 post)
  • Started 4 months ago by parthatel
  • This topic is not resolved

Tags:

  1. parthatel
    Member

    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.

    Posted 4 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.