1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem Adding H1

Discussion in 'White Hat SEO' started by crowly, Mar 9, 2011.

  1. crowly

    crowly Regular Member

    Joined:
    Sep 30, 2010
    Messages:
    296
    Likes Received:
    163
    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
     
  2. randsamp

    randsamp Newbie

    Joined:
    Jan 2, 2010
    Messages:
    28
    Likes Received:
    5
    You could edit the theme, or just get another one. But I wouldn't worry too much about specifically using an h1 tag.
     
  3. Nookie Monster

    Nookie Monster Senior Member

    Joined:
    Mar 28, 2010
    Messages:
    968
    Likes Received:
    463
    Location:
    USA
    Why do you say that ? Inquiring minds want to know.
     
  4. speakeasy602

    speakeasy602 Junior Member

    Joined:
    Aug 4, 2009
    Messages:
    126
    Likes Received:
    39
    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.
     
  5. jerrybery

    jerrybery Newbie

    Joined:
    Jan 30, 2010
    Messages:
    20
    Likes Received:
    3
    Location:
    Europe
    PM me if you need specific help. I've got some extra time to spare :)
     
  6. jerrybery

    jerrybery Newbie

    Joined:
    Jan 30, 2010
    Messages:
    20
    Likes Received:
    3
    Location:
    Europe
    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.
     
  7. crowly

    crowly Regular Member

    Joined:
    Sep 30, 2010
    Messages:
    296
    Likes Received:
    163
    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
     
  8. pixeltech

    pixeltech Newbie

    Joined:
    Mar 22, 2014
    Messages:
    24
    Likes Received:
    2
    Occupation:
    Web Application and General Software Dev
    Location:
    Florida, USA
    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-->