WordPress.org

Ready to get started?Download WordPress

Forums

Titles aren't H1 Tags?? (3 posts)

  1. AffinityEnterprises
    Member
    Posted 5 years ago #

    Hi,

    My blog for some reason decided to put my titles as h3 tags instead of h1, how do I change this? I'd like my titles to be h1.

    The blog is here: http://www.raymondfong.net

    Thanks!

    Raymond

  2. drmanry
    Member
    Posted 5 years ago #

    In the theme editor, open the index.php file and look for something like this:

    <h3 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>

    Change the <h3> and </h3> to h2.

  3. asechrest
    Member
    Posted 5 years ago #

    Your theme, like most WordPress themes, likely hardcodes the <h1> tag around your blog name, and the <h2+> tags around the title.

    I wrote up a guide to change the <h1> tags. Let me know if it helps you (or if it's confusing or you find a mistake!).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags