[Theme: Elegant Grunge] Home Page Link When Clicking Banner
-
Hey guys,
I’m trying to get my custom header image to link back to my default home page. I’m assuming it has to do with this chunk of text but I can’t get anything working, thanks!
`<div id=”header”>
<div>
<?php if ( is_front_page() || is_archive() || is_category() || is_tag() ) { ?>
<h1><a href=”<?php echo home_url( ‘/’ ); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></a></h1>
<?php } else { ?>
<h2><a href=”<?php echo home_url( ‘/’ ); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></a></h2>
<?php } ?>
<p id=”blog-description”><?php bloginfo( ‘description’ ); ?></p>
</div>
</div>`
- The topic ‘[Theme: Elegant Grunge] Home Page Link When Clicking Banner’ is closed to new replies.