![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
This is a continuation of the question that was originally posted, answered, and closed here:
http://www.studiopress.com/support/s...ad.php?t=74344 We were using a custom image header on an older Revolution magazine theme that was not pulling the site title as the h1. We were provided the code to add the h1 to the home page and it worked great (thanks Charles)! However, we did not realize it was also adding this h1 tag to all of the individual posts. So now we have two h1 tags on the post pages (Site Title and Post Title). We only want the site title to be the h1 tag on the home page (as we did not have one). On the posts we want to keep the post title as the sole h1 tag. The site is: http://noteinvestor.com/ The code that was added in the header.php theme file was: <?php echo '<h1 style="text-indent: -9999px; height: 0; margin: 0;">' . get_bloginfo( 'name' ) . "</h1>\n"; ?> Thanks |
| Thread Tools | |
| Display Modes | |
|
|
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us