Link Header Image to URL
-
Hi there. So I’ve been spending some time tweaking everything on a new wordpress blog and things have gone well enough. I am stuck with one thing, though. I want to have the header image clickable and have it link to a URL that is NOT the main page of the blog. I found one snippet of code to make it link to the main page of the blog and set that for now.
Blog URL: http://www.beantownsbest.com/townsquare/
Relevant (I hope part of header.php): http://wordpress.pastebin.com/vMuJAPHMThis is the line that I added:
<a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">Thanks in advance!
Edit: Forgot to mention this. I’m using the theme Twenty Ten.
The topic ‘Link Header Image to URL’ is closed to new replies.