Skip to:

how to switch bbpress template?

  • tarao


    I created two forums as category (named ‘dog’ and ‘cat’).
    and I want to show pages which belongs to each category in completely different layout and design.
    So, I hit on a following idea as a solution.
    1)create a new bbpress theme (./plugins/bbpress/templates/new-template)
    2)when users see pages which belongs to ‘dog forum’, activate default theme.
    and when users see pages which belongs to ‘cat forum’, activate new theme.

    In other words, switching bbpress theme and templates depending on forums that users are currently seeing.
    But I don’t know how to put it into practice.

    help please.

    sorry for my poor english!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @tarao,

    I don’t think you can obtain this without coding.

    A theme is set for the whole of WordPress, including bbPress. So I suppose you would need to have 1 theme, and in that theme depending on the forum you are in, you could have different styles.



    Thank you @casiepa.
    I decided to start coding according to your advice in ONE theme.
    But in order to succeed the plan, I have to understand each functions and roles of .php-files which run in bbpress.

    Could you please give me any picture that explains order of files and functions called and executed by ‘the_content()’ in bbpress.php inside WP theme directory.

    I would like to know what happens in bbpress after the_content() runs.

    Robin W


    all the templates are held in


    the main forum is displayed using


    and that then calls pretty much the rest in a hierarchy, so start there

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