H1 in both title and post. Help?

HomeForumsTechozoicH1 in both title and post. Help?

This topic has 2 voices, contains 1 reply, and was last updated by  Jeremy Clark 206 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
Author Posts
Author Posts
October 17, 2011 at 9:46 am #1710

pauly99

I’ve migrated from the Flexibility 3 theme and thus far I dig Techozoic and the ease at which you can change settings for different works. I have a little bit of a dilemma though. It seems that Techozoic assigns h1 as the title tag and for whatever reason my 180 or so posts all have an h1 within the post as well (the way I did things when I was using Flexibility 3). What is the best way to get rid of the duplicate h1′s?

October 23, 2011 at 1:08 pm #1711

Jeremy Clark

The best way would be to edit the single.php and remove this line.

<h1 class="post_title"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php printf(__(‘Permanent Link to %s’,'techozoic’), get_the_title()); ?>"><?php the_title(); ?></a></h1>

This will remove the h1 tag from the post page.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.