Linked Image in Tagline

Support Area Forums Foundation Linked Image in Tagline

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question:
  • Author
    Posts
  • #8967
    Avatar photosteve rawlings
    Participant

    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

    #8969
    Bill Robbins
    Moderator

    Steve,

    You can do that. Here’s how:

    1. 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.
    2. Then to the Appearance section and select Edit.
    3. 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:

    4. 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.
    5. Save your changes.

    That should place your image in the header.

    If you have any trouble, let me know,
    Bil

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Linked Image in Tagline’ is closed to new replies.