Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18434

    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?

    #99454

    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 Content

    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.

    Regards,

    Devin

    #99455

    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

    #99456

    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,

    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Single blog post shows "Blog – Latest News" instead of blogpost title?’ is closed to new replies.