Site logo

Archived topic

Page Header Module deactivated by mistake

15 replies · Started by J on January 23, 2020

Viewing posts 1–15 of 16

Upon adding a new post, I didn't see the Page Header Module displayed, so I deactivated the Page Header Module by mistake thinking that if I reactivated it again I would see it in the Screen Options. I didn't realize that it was repalced by Elements in the newer versions of your theme.

What can I do if anything to get back all my global locations? Perhaps rolling back to an earlier version of Generate Press Pro?

Thank you.

Hi there,

If you go to Appearance > Elements at the top of the Display you should see Legacy Page Headers.

The problem is that I deactivated the Page Header Module, so I don't see the Legacy Page Headers.

That doesn't work. I still don't see the Legacy Page Headers.

That should allow you to select the Page Header Module in Appearance > GeneratePress

No, the Page Header Module is not there.

All I want to do, which I cannot using the Elements Module, is to display the post title on the featured image at the top of the post.

Whats wrong with using the Header Element ? It works in much the same way as the Page Headers did.

Ok so i assume you want it displayed where the standard featured image does ie. within the content.

To do that you need the PHP snippet provided here:

https://docs.generatepress.com/article/generate_page_hero_location/

Then in the Header Element:

1. Add some top and bottom padding to create the necessary height of the image.
2. Set the Background Image > Featured Image
3. Disable the Featured Image to remove it from the default featured image from the post content.

Let me know if thats correct

Getting close, but I can't find where to put the PHP snippet.

That snippet worked. The white text on featured image background didn't stand out too well, so I just changed the background to a solid color. It doesn't look too bad.

https://www.atnnow.com/ten-awesome-historical-words-we-should-bring-back/

I think this topic is resolved. Thanks for your all your help and for being so patient.

I still need to explore all that the Elements Module can do, but I must admit it's a great improvement over the old Page Header Module.

This archived topic is closed to new replies.