Skip to:
Content
Pages
Categories
Search
Top
Bottom

"Deep" integration with theme only

  • Hi.

    I am in the process of integrating bbPress with only my WordPress theme, not login or cookies. I have placed this in bb-config.php:

    <br />
    if ( !defined( 'ABSPATH' ) ) {<br />
    include_once( '../wp-config.php' );<br />
    }<br />

    and this in bbpressbb-templateskakumeiheader.php:

    <br />
    get_header();<br />
    echo_css(); // function from WP theme's functions.php<br />

    The WordPress header loads, but some of the CSS isn’t present from the WordPress theme when I don’t have echo_css(); in the code. The CSS is produced by the WordPress theme’s functions.php, which doesn’t appear to be loading. I can call functions from functions.php inside bbPress, including the one that outputs the CSS, but it is placed at the wrong point in the code (inside the body tag instead of head,) even though I run it immediately after get_header();. I would also like it to be flexible in the event I change the theme.

    So my question is: Is there a function inside WordPress to process the functions.php? Should I be in the WordPress forum?

    Thanks a lot for your time and help!

    Nick

Viewing 1 replies (of 1 total)
  • WP and BBpress Themes use (95% of the time) the same css tags. You will have to open your BBpress css and just insert and remove tags from WP css or sometimes rename the css tag.

    and I think it’s <?php wp_head(); ?> in the header.php

    and <?php wp_footer(); ?> in the footer.php

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