![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I would like to link my header to always go back to the home page. I am not sure where to put the a href.
Code:
<div id="header">
<div class="headerleft" <?php if(get_theme_mod('header_blog_title') != 'Text') { echo 'id="imageheader"'; } ?>>
<?php
if (is_home()) {
echo '<h1><a href="'.get_option('home').'/">'.get_bloginfo('name').'</a></h1>';
} else {
echo '<h4><a href="'.get_option('home').'/">'.get_bloginfo('name').'</a></h4>';
}
?>
<p><?php bloginfo('description'); ?></p>
</div>
<?php // To define the 468x60 ad, go to your WP dashboard and go to Appearance > Widgets. Select 468x60 Header Banner and then enter your add code into a text widget ?>
</div>
http://sanantonioriverwalkrentals.com
__________________
Thank You, Nancy Strong http://www.lightenyourworkload.com Nancy@LightenYourWorkLoad.com |
| Tags |
| header, lifestyle 4.0, link |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| href absolute instead of relative | fmunz | General Discussion | 1 | 04-19-2010 05:56 PM |
| replace the SEARCH box with an HREF link | allansburgess | General Discussion | 3 | 11-16-2009 06:45 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us