Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to install new template


  • albnaldo
    Participant

    @albnaldo

    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

    @albnaldo

    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

    @robin-w

    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

    @albnaldo

    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

    @robin-w

    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

    @albnaldo

    What about pre made templates?


    Robin W
    Moderator

    @robin-w

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


    albnaldo
    Participant

    @albnaldo

    Can’t I replace it with another one?


    albnaldo
    Participant

    @albnaldo

    And how do I remove Topic:


    Robin W
    Moderator

    @robin-w

    Can’t I replace it with another one?

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


    Robin W
    Moderator

    @robin-w

    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