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?
Single blog post shows "Blog - Latest News" instead of blogpost title?
4 posts from 3 voices-
Posted 5 months ago #
-
Hi tvandervalk,
Do you mean like this page: http://www.kriesi.at/themes/choices/2012/01/14/this-is-a-nice-post/ ?
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:
Heading (+Breadcrumb)
Horizontal Ruler
Post/Page ContentYou 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.
Regards,
Devin
Posted 5 months ago # -
Hi Devin,
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!
Tom
Posted 5 months ago # -
Hi,
To change the background color you can add this on your custom.css
.stretch_full.container_wrap.slideshow_color.light_bg_color.title_container { background: red; }To remove the title, add this
h2.post-title a { display: none; }Regards,
IsmaelPosted 5 months ago #
Reply
You must log in to post.














