[Resolved] Blog post title missing when using sections

Home Forums Support [Resolved] Blog post title missing when using sections

Home Forums Support Blog post title missing when using sections

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #676882
    April

    The title of my blog post and the hook that’s supposed to go on single blog pages are missing when I use sections. Do you know of a workaround? Both work fine on all my blog posts that don’t use sections.

    GP Premium 1.7.2
    #676962
    David
    Staff
    Customer Support

    Hi there,

    Sections are a simple page-builder, and replaces the single template, so there is no Entry Header. The easiest solution is to use a Header Element:

    https://docs.generatepress.com/article/header-element-overview/

    You can add the {{post_title}} template tag to pull in the title automatically. The content you have hooked in can also be added in here.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.