Custom header in child theme
-
Hi everyone!
I would like to create a whole new header using HTML and WordPress functions/hooks, like this:
<header id="masthead" <?php generate_do_element_classes( 'header' ); ?> <?php generate_do_microdata( 'header' ); ?>> <div <?php generate_do_element_classes( 'inside_header' ); ?>> <div class="site-logo"> <a href="<?php get_bloginfo('url') ?>" title="<?php get_bloginfo() ?>" rel="home"> <img class="header-image lazyloaded" alt="SITE TITLE" src="<?php get_custom_logo() ?>" title="<?php get_bloginfo() ?>" data-lazy-src="<?php get_custom_logo('url') ?>"> </a> </div> </div> </header>
But it’s not working, any help?
I’m using GP child theme.
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom header in child theme’ is closed to new replies.