Site logo

Archived topic

Blog page - display page title

1 reply · Started by Dan on August 11, 2019

Viewing posts 1–2 of 2

I'd like to display the page title of my blog page, "The Solitary Angler’s Fly Fishing Blog," at the top of my blog archive page.

Is that possible?

Thanks

Absolutely, we can use the Elements module for this.

1. Create a new Hook Element: https://docs.generatepress.com/article/hooks-element-overview/
2. Set the hook to before_main_content
3. Add this as your hook content:

<div class="page-header">
    <h1>Your title here</h1>
</div>

4. Set the Display Rules to the "Blog".

That should do it :)

This archived topic is closed to new replies.