If you click on a blog post, the <H1> shows “Blog – Latest News”. That’s bad for SEO. How can I change the theme, so it showa the blog post title instead?
You can change the title that gets displayed by default in the single.php file in your theme files. Its on line 19.
However I don’t think you can modify it to take the actual post title since it comes before the actual loop which pulls the post.
What you can do is use a different page layout to remove the Blog title and breadcrumb area (such as using a full width slideshow image or creating a dynamic template).
An example template made with the template builder would be:
You could also separate the heading with a page split to more completely mimic the regular layout where the page title and breadcrumb has a different background.
The template builder fixes the <H1> problem, but I can’t get the colors right. I’ve tried the page split, but the background stays white. How can I fix that?
Second problem: the content area also shows the blog title, so the title is shown twice.
Thanks for your help!
The topic ‘Single blog post shows "Blog – Latest News" instead of blogpost title?’ is closed to new replies.