Skip to:
Content
Pages
Categories
Search
Top
Bottom

WordPress Header on bbpress

  • @snieves

    Member

    I have looked all through the internet and this forum and for the life of me, I can’t find how to call the wordpress header to bbpress.

    I don’t care for the styling of the forum or anything, since I will customize that, I simply want my wordpress header to sit above my bbpress forum?

    They are database and user integrated, I am stuck on the visual part.

    Can someone please direct me to where it explains it (and it works!)

    Thanks in advanced.

Viewing 8 replies - 1 through 8 (of 8 total)
  • @xevo

    Participant

    Deep intergrate and then just load header.php into your header file of your bbpress theme.

    @snieves

    Member

    They are deep integrated.

    How do I load header.php into bbpress header?

    @mr_pelle

    Participant

    I use this in my template:

    global $is_bb;
    $is_bb = true;

    get_header(); // call WP's header

    $is_bb = true; tells WP that current page is a bbPress page. If you need to load different content depending on that, just use:

    if ( $is_bb ) {
    // bbPress-related code
    } else {
    // WP-only code
    }

    @gerikg

    Member

    The best way is to mimic your WP in the bbP header.

    The issue with loading WP header is that you don’t load a very important line for most plugins “bb_head()”

    example would be zaerl Editor (0.3) plugin. That plugin needs bb_head()

    You can use

    Pixopoint Theme Integrator

    http://pixopoint.com/products/pixopoint-theme-integrator/

    (advantage is it doesn’t slow down your forum. Disavantage anything highlighted when your at that page doesn’t work. Which will not be a problem for you because you’re using Arthemia theme)

    or

    Deep Integration

    Where you can copy and paste stuff from the header that you need

    (advantage you can load any WP functions in bbP. Disavantage it will slow down your forum because you’re loading WP & bbP at the same time constantly)

    or

    Get someone else to do it

    Me go to this site http://wpbbpthemes.org/

    or other people on this site by posting a new post with a request to hire someone.

    @snieves

    Member

    Pixopoint is broken, Ryan is trying to fix the plugin.

    Where can I email you. I have to pay someone to get this going.

    @snieves

    Member

    mr_pelle,

    Where in your template did you place that code?

    @mr_pelle

    Participant

    mr_pelle,

    Where in your template did you place that code?

    The first block is actually my bbPress header (you have to put it inside some php tags, of course), while I use the second in my WordPress header and footer when I have to load different content (css, icons, code).

    @r-a-y

    Participant

    The issue with loading WP header is that you don’t load a very important line for most plugins “bb_head()”

    You could probably get around this issue by adding something like this in your bbPress theme’s functions.php:

    function bb_head_in_wp_head() {
    bb_head();
    }
    add_action( 'wp_head', bb_head_in_wp_head' );

    Though this is true w/ deep integration:

    (advantage you can load any WP functions in bbP. Disavantage it will slow down your forum because you’re loading WP & bbP at the same time constantly)

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Skip to toolbar