Need help with H1 tag for Wordpress theme?

CloudMarketPro

Regular Member
Joined
Dec 12, 2009
Messages
251
Reaction score
2
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:
I think you have if statement above of your code, look it carefully :)
 
Back
Top