Need help with H1 tag for Wordpress theme?

Discussion in 'White Hat SEO' started by mreza001, Jun 16, 2010.

  1. mreza001

    mreza001 Junior Member

    Joined:
    Dec 12, 2009
    Messages:
    195
    Likes Received:
    1
    I just installed a new theme on my domain and I would like to make the title of my site with the H1 tags. Here is what the code looks like in the header.php section of theme:

    <div id="header-wrap">
    <div id="header" class="clearfix">
    <div id="title">
    <a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a>
    </div>
    </div>
    </div>

    I just tried to add the <h1>and </h1> tags on the "<a href".....</a>" line and it does not seem to take? I go to my site and view source and it does not show up there even though in the header.php file I saved the changes.

    Any idea what I'm doing wrong? Or where I should be editing in the theme to make it work? I also tried a second line of descritpion underneath that code by using the following code ( <h2><?php bloginfo('description'); ?></h2>) within that and that didn't do any changes as well.

    Update: Also I tried changing other elements on theme as far as home page text, footer text, etc...and update changes, but when I refresh the site none of those changes takes place...Why is that?
     
    Last edited: Jun 16, 2010
  2. hoot33

    hoot33 Regular Member

    Joined:
    Sep 2, 2009
    Messages:
    290
    Likes Received:
    56
    pm me your site url
     
  3. cheryl

    cheryl Newbie

    Joined:
    May 24, 2010
    Messages:
    9
    Likes Received:
    1
    I think you have if statement above of your code, look it carefully :)