Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to install new template

  • @albnaldo

    Participant

    Hello all,

    So I finally managed to get bbPress up and running. As suggested, I copied all the template files inside bbPress plugin directory to my active theme. However, I want something better.

    I came across this website http://bbshowcase.org/forums/view/available-themes and I really like the first template. I downloaded and extracted it. There are many .php files and one style css. Can I do the same thing and copy these files to bbPress folder of my theme?

Viewing 10 replies - 1 through 10 (of 10 total)
  • @albnaldo

    Participant

    Also, how do I remove Topic: and Forum: slug at the title of the page? Where should I enter the filter code?

    @robin-w

    Moderator

    unfortunately bbshowcase was for the standalone version 1 of bbpress and doesn’t work with the wordpress plugin version.

    As suggested, I copied all the template files inside bbPress plugin directory to my active theme

    Not sure where you got that from. Only if you want to alter templates do you need to copy templates to a bbpress directory, and then only those you wish to change.

    Also, how do I remove Topic: and Forum: slug at the title of the page?

    Can you specify exactly what you want to remove – a screenshot would be good

    @albnaldo

    Participant

    Hello,

    When you open this topic, you can see at the tab bar on top there is “Topic: How to install new template”. Can can I remove the “Topic” word so only the title of the topic is displayed?

    Also, where can I find some premade templates?

    And lastly, how can I add sub Forums.
    So the main Forum is Android, and when you click on Android, there are more forums like Apps, Games, Phones etc.

    @robin-w

    Moderator

    And lastly, how can I add sub Forums.
    So the main Forum is Android, and when you click on Android, there are more forums like Apps, Games, Phones etc.

    see https://bbpress.org/forums/topic/separate-forums/

    @albnaldo

    Participant

    What about pre made templates?

    @robin-w

    Moderator

    bbpress 2.x uses your themes template for most of it’s css

    @albnaldo

    Participant

    Can’t I replace it with another one?

    @albnaldo

    Participant

    And how do I remove Topic:

    @robin-w

    Moderator

    Can’t I replace it with another one?

    yes if you have the knowledge and skills to write one !

    @robin-w

    Moderator

    And how do I remove Topic:

    I’ve not tested but believe this will do it

    function my_generate_titles( $new_title ){
            // reset the format to title only
    	$new_title['format'] = '%s';
    	return $new_title;
    
    }
    add_filter( 'bbp_before_title_parse_args', 'my_generate_titles' );

    come back and let us know if it does or doesn’t

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