<?php
// read the custom logo image if it's set
if( $td_logo && $td_logo != '' ) :
?>
<div id="logo-full">
<a href="<?php echo home_url( '/' ); ?>"><img src="<?php echo $td_logo; ?>" width="auto" height="auto" alt="<?php echo $td_logo_alt; ?>" <?php echo $td_logo_title; ?> /></a>
</div><?php // end of #logo / ?>
<?php else : // show the text logo if the logo image isn't set ?>
<div id="text-logo-full">
<span class="site-name-full">
<a href="<?php echo home_url( '/' ); ?>" <?php echo $td_logo_title; ?> rel="home"><?php bloginfo( 'name' ); ?></a>
</span>
<span class="site-description"><?php bloginfo( 'description' ); ?></span>
</div><?php // end of #text-logo / ?>
<?php endif; ?>
Need Help With COding header
Moderator: General Moderators
Need Help With COding header
Hi i just want to add wrapper for h1 on my logo if someone can create for me here is the coding for logo portion of theme. I just need it for only home page. Theme get h1 tags from the custom slider on the theme i removed those h1 tags what i just want is too add h1 for home page
Re: Need Help With COding header
hmm waiting
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Need Help With COding header
How can this page know if it is the home page or not? Is there a parameter? Or no parameter? Or by the page/script name?abjadoon wrote:Hi i just want to add wrapper for h1 on my logo if someone can create for me here is the coding for logo portion of theme. I just need it for only home page. Theme get h1 tags from the custom slider on the theme i removed those h1 tags what i just want is too add h1 for home page
(#10850)