Site logo

Archived topic

Blog post title missing when using sections

1 reply · Started by April on September 13, 2018

Viewing posts 1–2 of 2

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.

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.

This archived topic is closed to new replies.