Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbpress plugin beta2 – theme_compat() possible problem?


  • Anointed
    Participant

    @anointed

    For some reason the function theme_compat() -line 189 bbpress.php is not respecting the add_theme_support( ‘bbpress’ ); in my theme’s functions.php file.

    The reason I don’t think it’s working is because the bbpress.css is still being injected into my header.

    *btw the function definition says it also enqueues the topic.js, however it’s not in the arguments, not sure if that matters though, as I am doing that on my own.

Viewing 1 replies (of 1 total)

  • John James Jacoby
    Keymaster

    @johnjamesjacoby

    When are adding your theme compatibility? If you are hooking in on the ‘init’ or ‘wp’ actions, then it is too late for theme compatibility to pick it up.

    function anointed_theme_setup() {
    add_theme_support( 'bbpress' );
    }
    add_action( 'after_setup_theme', 'anointed_theme_setup' );

    Can you confirm the bbpress.css is inside the bbPress plugin directory and bbp-twentyten theme?

    If it wasn’t working at all, then your custom theme’s bbPress template files wouldn’t be getting loaded either.

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