WordPress: Making your Header clickable (back to Home)

I advise always having a clickable header that returns the user to your home URL.
While they can still get there from “HOME”, this action is an often assumed part of webdesign

1- Open file “header.php” (in your theme folder)

2- Locate this in code:

<div id=”site-description”><?php bloginfo( ‘description’ ); ?></div>

3-  Add this directly under it:

<a href=”<?php echo home_url( ‘/’ ); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”>

4- It should now look like this:

<div id=”site-description”><?php bloginfo( ‘description’ ); ?></div>
<a href=”<?php echo home_url( ‘/’ ); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”>

5- Lastly, you need to close the tag – Locate this a little farther down

</div><!– #branding –>

6- It should now look like this:

</a></div><!– #branding –>

Related Posts Plugin for WordPress, Blogger...