Celebrating 7 Years! Get up to $30 off GeneratePress Premium!

[Resolved] Page Header don' show content in blog page

Home Forums Support [Resolved] Page Header don' show content in blog page

Home Forums Support Page Header don' show content in blog page

  • This topic has 3 replies, 2 voices, and was last updated 3 years ago by Leo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #551781
    Silvano

    Hi,
    I created a custom header with blue background and the tag {{post_title}} and applied it to all the pages.
    All pages show the header blue with titles, except the blog page and a events page created for to custom post type. This two pages show only the background without no title.

    can you help me with this issue?

    GeneratePress 2.0.2
    #551906
    Leo
    Staff
    Customer Support

    Hi there,

    Generally there’s no title on the blog page – it just shows your posts.

    In this case, I would recommend to create a separate page header and just add the title in manually as page header content:
    <h1>Blog page</h1>

    The same method should work for CPT as well.

    Let me know if this helps.

    #551986
    Silvano

    Ok, Leo
    Is that what I did.

    thank you!!

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