WordPress.org

Ready to get started?Download WordPress

Forums

Post titles using h1 tag supposed to use h2 (9 posts)

  1. mostever
    Member
    Posted 4 years ago #

    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

  2. mostever
    Member
    Posted 4 years ago #

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

  3. fridha
    Member
    Posted 4 years ago #

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

  4. mostever
    Member
    Posted 4 years ago #

    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.

  5. Edward Caissie
    Theme Review Admin
    Posted 4 years ago #

    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.

  6. mostever
    Member
    Posted 4 years ago #

    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.

  7. mostever
    Member
    Posted 4 years ago #

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

  8. mostever
    Member
    Posted 4 years ago #

    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...........

  9. mostever
    Member
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic