• Hello,

    My single post title tags are getting messed up. All of my files provide h2 tags for the post title, but when you view the single post the title is placed in a h1 tag and is dramatically reduced in size.

    I have looked at all my theme files and all my WP files and can not find any reference to the h1 tag. What would cause the system to swap out the h2 tag for an h1 tag?

    index.php
    <div id=”contentleft”>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <h2>” rel=”bookmark”><?php the_title(); ?></h2>

    page.php
    <div id=”contentleft”>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <h2 class=”single”>” rel=”bookmark”><?php the_title(); ?></h2>

    home.php
    <div id=”contentleft”>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <h2>” rel=”bookmark”><?php the_title(); ?></h2>

    archive.php
    <div id=”contentleft”>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <h2 class=”single”>” rel=”bookmark”><?php the_title(); ?></h2>

    There is no single.php file available, but the source when viewing a single post is as follows.
    <div id=”contentleft”>
    <h1>
    H-Tag Post Title Bug
    </h1>

    I know nothing about php and am only a novice at html and css. Fixing this is beyond me. I have come to the conclusion that the problem does not exist in any of the formats mentioned above and is a php issue of some sort.

    Any help would be greatly appreciated. The site can be found at https://www.hybridseo.com and the theme is Elements of SEO

Viewing 3 replies - 16 through 18 (of 18 total)
  • @marcjordan88
    before you edit index.php, did you check your settings in
    admin – settings – reading: Blog pages show at most ?
    if this is set to 10, try changing it there first.

    the changes suggested in my earlier post will overwrite this setting.

    Thread Starter mostever

    (@mostever)

    Got a fresh copy of the css edited and uploaded. Everything looks fine, and I have no clue what I did wrong in the first place. There are still several issues with this theme that I just can’t grasp yet. I also just finished watching a Thesis them review on artofblog.com. I had contemplated getting the Thesis them before, but I am confident the Thesis theme is in my near future.

    thanks! it worked from the admin settings… and Im starting a tread for my next question I want to be able to show 3 photos in a row on snapshot…

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Single Post Title Formating’ is closed to new replies.