Page Title same as most recent blog post title
-
I have a site in development locally, I have created a page /blog and assigned my posts to that page through the settings. Each of my pages has a H1 tag that shows the page heading. On the blog page instead of giving me my page title is attributes it to the latest title of my most recent blog post.
I cannot post a link as the site is running local, but here is my header code:
<h1 class="page-title"><?php the_title(); ?></h1>
Not sure why it is doing this, I have searched the forums and the web and cannot find an answer. Please help.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Page Title same as most recent blog post title’ is closed to new replies.