Linked Image in Tagline
URL to the page in question:
-
Hi Bill,
Is it possible to have a linked image in the tagline area of the header?
http://www.leadingtothelight.org/test4/
Thanks for your help.
Steve
Steve,
You can do that. Here’s how:
- Go to the Media section and select “Add New.” Upload the image you’d like to use in the header. Once the upload is finished, click edit. Look in the right hand side and you’ll see a spot labeled “file URL.” Copy the URL to your file.
- Then to the Appearance section and select Edit.
- From the list of files on your right, choose header.php and look for this spot:
<?php
if (is_home()) {
echo '<h2>'.get_bloginfo('description').'</h2>';
} else {
echo '<p>'.get_bloginfo('description').'</p>';
}
?>
and replace that with this:
- Change the
http://yourlink.com
to the URL you’d like to link to and the http://yoursite.com/image.jpg
to the URL to your image file.
- Save your changes.
That should place your image in the header.
If you have any trouble, let me know,
Bil
- The topic ‘Linked Image in Tagline’ is closed to new replies.