recent post title showing as page title.
-
Hello,
So here is the situation. I have no plugins running, so I am sure its not the plugins. I have cleaned up my database a couple of times and thats not it either.
In my header file I have the following code
<div class="container headtitle"> <div id="b" class="last"> <div id="title"><h1><?php echo get_the_title(); ?></h1></div> </div> </div>
Which basically shows the page title on each page, except its not working for the ‘Blog’ page. On the blog page it shows me the title for the most recent blog post.
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘recent post title showing as page title.’ is closed to new replies.