Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #623829

    Hi Guys,
    I have a need to switch the logo that appears in the header area.
    On the home page it should be one logo, but on internal pages I would like to switch the logo to something else.
    Additionally I would like to change the navigation options as well to show different navigation options when the viewer is on an internal page.

    Is any of this possible?

    #623836

    Hey Joe!

    Please use a plugin such as this one – https://wordpress.org/plugins/zen-menu-logic/ to display different menus per page

    To display different logo on your page please add following code to Functions.php file in Appearance > Editor

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
        if(is_page(9) )
        {
        $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png";
        }
        return $logo;
    }

    9 here is the page ID. You can change it as needed

    Regards,
    Yigit

    #623846

    Right On!
    The menu plugin works like a charm. Man you are good!
    Thanks for your guidance.

    I hesitate to make changes to the Function.php for the logo change only because that content gets wiped out when there is a update.
    I will try adding the logo to the page as part of the design. Thanks for your insight!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Create different headers for pages’ is closed to new replies.