Single Post Title Formating
-
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
- The topic ‘Single Post Title Formating’ is closed to new replies.