[Support request] Add page title to page header

Home Forums Support [Support request] Add page title to page header

Home Forums Support Add page title to page header

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

    Hi there,

    I have created a page header and added it to every inner page globally. I’ve used the template tag {{post_title}} to add the page title (hmm, now I’m wondering if this will use the post title on blog posts, which is not what I want…).

    Anyway – the blog page is still blank. How can I get it to say “Blog”?

    You can view the site in development at https://simpledays.co.uk

    Thank you ๐Ÿ™‚

    GP Premium 1.6.2
    #614248
    David
    Staff
    Customer Support

    Hi there,

    the Blog page doesn’t have a post title, so there is nothing to display. Instead create a separate Page Header, add the title manually e.g <h1>Blog</h1> and assign this to your Posts Page (Blog) in global locations.

    Likewise you can create separate headers to assign Posts and Pages independently. So one with the post title and one without.

    #614280
    Faye

    Ahhh, perfect. I should have thought of that!

    Thank you ๐Ÿ™‚

    #614302
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.