Problem Adding H1

crowly

Regular Member
Joined
Sep 30, 2010
Messages
296
Reaction score
164
Hi guys,

This is whats up.. I got the Emporium theme by Templatic. Its a shipping cart, but I cant see how I can add H1 tag for the homepage. If anyone knows a plugin that will use the site title/tagline as H1 or any other White Hat way pls share.

Help greatly appreciated

Thanks,
Crowly
 
You could edit the theme, or just get another one. But I wouldn't worry too much about specifically using an h1 tag.
 
You could edit the theme, or just get another one. But I wouldn't worry too much about specifically using an h1 tag.

Terrible advice. Use an H1 tag, just hand code it somewhere into the theme. Something like:
HTML:
<h1><?php bloginfo('name'); ?></h1>
Super easy to do. NEVER IGNORE YOUR H1 TAGS... Jeesh.
 
Trying to find an answer for my friend, I came across this info describing how to avoid having to play around with hiding your h1 tag by simply turning our website logo/header into the h1 tag.

Using this html:

Code:
<h1>
  <a href="yourwebsite address">
    <img src="logo.png" alt="Website Title" />
  </a>
</h1>

Reference:

www dot youtube dot com/user/GoogleWebmasterHelp#p/search/0/fBLvn_WkDJ4

The video practically says that since the html above is structured html, google sees it as a legitimate way to place an h1 tag which it will read while shoing your visitors a nice logo. Whitehat seo which achieves the same results as other blackhat methods.
 
Alright, anybody have an idea how to where to add h1 and alt description...

<?php } else { ?>
<a href="<?php echo get_option('home'); ?>/"><img src="<?php if ( get_option('ptthemes_logo_url') <> "" ) { echo get_option('ptthemes_logo_url'); } else { echo get_bloginfo('template_directory').'/images/logo.png'; } ?>" alt="<?php bloginfo('name'); ?>" class="logo" /></a>
<?php } ?>
</div> <!-- h_left #end-->

Thanks
Crowly
 
You already have the alt description in there, so all you need to do is wrap it in the h1 tags:

Code:
<?php } else { ?>
<h1>
<a href="<?php echo get_option('home'); ?>/"><img src="<?php if ( get_option('ptthemes_logo_url') <> "" ) { echo get_option('ptthemes_logo_url'); } else { echo get_bloginfo('template_directory').'/images/logo.png'; } ?>" alt="<?php bloginfo('name'); ?>" class="logo" /></a> 
</h1>
<?php } ?>
</div> <!-- h_left #end-->
 
Back
Top