Here is a quick post on how to add a URL link to your WordPress header. This has only been tested on the default theme. You will need to know the dimensions of the header; the default header is 760px by 200px. Note, you will need to disable Toggle Text Display, in WordPress Admin→Presentation→Header Image and Color→Advanced→Toggle Text Display.
Simply add the following code into header.php after <div id="header">
<a href="<?php echo get_option('home'); ?>/" style="display:block;height: 200px;width: 760px"></a>
With it inserted should look like the following:
<div id="header"><a href="<?php echo get_option('home'); ?>/" style="display:block;height: 258px;width: 760px"></a> <div id="headerimg"> <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1> <div class="description"><?php bloginfo('description'); ?></div> </div> </div>
Comments
2 responses to “Add URL link to WordPress default header”
Hello
As a fresh t.com user i just wanted to say hi to everyone else who uses this board <:-)
Creativity, open-mindedness, and innovation appear as key ingredients in successful adult-youth working relationships. ,