How to make your wordpress banner navigate to your blogs homepage

The default wordpress template leaves much to be desired in the way of user navigation. For instance, when you navigate from the index of a blog to an article, you have no easy way to get back to the homepage! To fix this, I decided to make my banner navigate to my homepage – a very easy mod that took ~5 minutes worth of template editing.

First we need to go to the template editor of your blog. After logging in to the wordpress admin panel, click the “Presentation” tab, then “Theme Editor” subtab, and finally click “Header” on the right side under “WordPress Default” Theme Files. The screenshot below might help if you’re not sure where this stuff is.

Highlighted header tag in Theme Editor

See that highlighted text there? Replace

<div id="header">

with
<div id="header" onclick="location.href='your_blog_url';" style="cursor: pointer;">

Where 'your_blog_url' is your actual blog url. For example, mine looks like this:
<div id="header" onclick="location.href='http://www.iswapyou.com/blog/';" style="cursor: pointer;">

And thats all there is to it. Enjoy!

If you enjoyed this post, make sure you subscribe to my RSS feed!

Leave a Reply