• Hello, I am using Elements of SEO theme on WP 2.9.1 – I have made a few minor changes as I am just a novice. I changed my header tags and modified some css. Everything is fine accept when you view a single post at it’s permanent address. The post title is very small so I checked it with firebug and seen that the title is using an h1 tag and it is supposed to be using an h2 tag like everywhere else on the site.

    I have looked everywhere I can think and I can not find the culprit. Is there anyone that can point me in the right direction? Could it possibly be in the core WP files? Once I know which file to edit, it should be a really quick fix, but at this point I am stumped.

    Any help would be greatly appreciated. Thanks in advance.

    ps
    If anyone wanted to view my problem in action, the address is: http://www.hybridseo.com

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter mostever

    (@mostever)

    Anyone know what php files are used by WP to display full single posts? Not archives, but the actual post.

    It’s bad to have double <h1> tag on single post

    Thread Starter mostever

    (@mostever)

    Update. I have searched every file in my theme and nowhere is the h1 tag used for title tags. The only place in my theme that uses the h1 tag is for the blog title. So that narrows it down to all the WP files.

    Anyone have any idea which WP files control the posts pages? The home page is fine, and so is any other page that displays the post except for the actual complete permanent address of the post. Uggh.

    Anyone know what php files are used by WP to display full single posts? Not archives, but the actual post.

    Have a look at this page in the codex: http://codex.wordpress.org/Templates_Hierarchy

    Compare your theme files to the hierarchy, I believe you are asking about the single.php template file.

    Thread Starter mostever

    (@mostever)

    Yes fridha, and that is my problem. I don’t want double h1, I want h2 for post title and it is using h2 unless you go directly to the permanent link of the post and then it uses h1.

    Thread Starter mostever

    (@mostever)

    Thanks cais, I am reading right now. I managed to fix everything else, just one hanger left.

    Thread Starter mostever

    (@mostever)

    Well as fun as http://codex.wordpress.org/Templates_Hierarchy was to read, it only told me that what I am looking for I should have already found.

    …………..Still looking………..

    Thread Starter mostever

    (@mostever)

    I searched every file in both WP and in my theme and can not find any other references to the h1 tag. I use Notepad++ to edit and search, so I know I did not miss anything.

    Could this problem possibly be from the rewrite.php file? I am lost.

    I might have to revert to using h1 tags for titles and replace the blog title with an image.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Post titles using h1 tag supposed to use h2’ is closed to new replies.