Support » Theme: Attitude » Customize Header

  • Hi,

    Attitude theme is great and I love it but I would like to replace the existing header with my custom header with links, images, background color…etc. The current custom header option only supports image. Also I tried the ‘Header/Footer’ plugin but it is not really replacing the existing header but adding on top part of existing page. Not so nice.
    I also read something about unhooking existing header and adding your own but I do not know how to do it in Attitude. I wonder if anyone can give some pointer on removing attitude header hook and adding a new header function.

    I think it probably needs to add some php code in functions.php in a child theme
    something like…

    // Now we add our new function to our Action Hook
    add_action('init','childtheme_welcome_blurb', 15);
    // First we make our function
    function childtheme_welcome_blurb() { ?>
     <p>Welcome to my new header</p>
    remove_action( 'init','attitude_header',15);
    } // end of our new function childtheme_welcome_blurb

    Thanks in advance!

  • The topic ‘Customize Header’ is closed to new replies.