A Link in the Title
Published by Matt Glover January 30th, 2006 in Misc StuffDoes anyone know how I make the MattGlover.com image (above) a hyper link back to the main page of the blog?
I’m too lazy to look up the wordpress help pages…
Thoughts from Australian cartoonist and pastor, Matt Glover
Does anyone know how I make the MattGlover.com image (above) a hyper link back to the main page of the blog?
I’m too lazy to look up the wordpress help pages…
the basic html would be
<a href=”http://www.mattglover.com”> <img src=”theimage.jpg” /> </a>
but I don’t know how you would make it go across all the pages- I’m not familiar with wordpress.
Hope the code comes out ok.
hooray! the code isn’t garbled.
If only it was that easy!
Wordpress uses all these .php files and CSS stuff which I have no idea about. I’m guessing the code should go in the ‘header’ file somewhere, but wouldn’t have a clue where.
you need to open up header.php
find the line that says
div id=”header”>
(it is near the bottom of the doc)
change it to
where http://youraddress/ = the link you want. that will make the whole top image of your blog a clickable link.
ok something went wrong there, http://youraddress/
change
div id=”header”
to
div id=”header” onclick=”location.href=’http://youraddress/’;” style=”cursor: pointer;”
Thanks Fernando. I’ll give it a go when I’m back on the home computer.
gah! man, I need to pick up a php book. yeah, html is easy, but php is something else. CSS isn’t that bad either, Matt.
Hmmm. Tried that but it only wiped out the title all together. Any other clues?