OK, here’s my issue:
I have created a page called ‘blog’ and set the ‘posts page’ in settings/reading/ to that page so i get all recent posts to that page. Thing is, the page Title
<?php the_title(); ?>
is pulling in the heading of the first post displayed on the page and not the page name ‘my blog’.
I also use:
<body ID="<?php echo $post->post_name; ?>
to make sure the page ID is taken from the page title, this is not working on the ‘blog’ page either.
I tried a few different templates including default with no change.
- The topic ‘“Blog” page title is reading as the last post title on the page…’ is closed to new replies.