Skip to:
Content
Pages
Categories
Search
Top
Bottom

Different forum headers

  • @okaeri

    Participant

    These headers

    I was wondering how or if it’s possible to be able to create multiple headers such as the one I have in the picture labeled “SITE”? That way we can break stuff up into categories labeled as like, “Site”, “Game”, “Off-topic” etc.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @somnathjadhav

    Participant

    I am looking for same feature. Anybody can help?

    @robin-w

    Moderator

    use then alternate template in

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>forum templates

    @kat772

    Participant

    I saw this blog and this might actually help.

    Step One: Duplicate your header.php file and name it header-new.php. You can replace the word new with something that makes sense for your website.

    Step Two: Open up the Page.php file associated with the template that you want to use. Then replace the normal header code with the code below. Update the page id number with the correct page number on your site. Change the get_header(‘new’) to match the alias used in step one.

    <?php
    if(is_page(10)) {
    get_header(‘new’);
    }
    else {
    get_header();
    }
    wp_head();
    ?>
    Step Three: Make your changes within the header-new.php file, and walah! You have successfully created a second header!

    If you’re looking to create a second footer, simply follow the steps above but make your changes to the footer-new.php file instead.

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