- This topic has 15 replies, 2 voices, and was last updated 4 years, 3 months ago by David.
-
AuthorPosts
-
January 23, 2020 at 12:43 am #1141043J
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.
January 23, 2020 at 4:12 am #1141234DavidStaffCustomer SupportHi there,
If you go to Appearance > Elements at the top of the Display you should see Legacy Page Headers.
January 23, 2020 at 4:50 am #1141267JThe problem is that I deactivated the Page Header Module, so I don’t see the Legacy Page Headers.
January 23, 2020 at 4:59 am #1141272DavidStaffCustomer SupportSorry – i so obviously didn’t read that ….
Tom provides an answer here on how to recover the old module:January 23, 2020 at 5:20 am #1141285JThat doesn’t work. I still don’t see the Legacy Page Headers.
January 23, 2020 at 5:22 am #1141286DavidStaffCustomer SupportThat should allow you to select the Page Header Module in Appearance > GeneratePress
January 23, 2020 at 5:40 am #1141298JNo, the Page Header Module is not there.
January 23, 2020 at 5:46 am #1141306JAll 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.
January 23, 2020 at 5:57 am #1141315DavidStaffCustomer SupportWhats wrong with using the Header Element ? It works in much the same way as the Page Headers did.
January 23, 2020 at 6:28 am #1141339JExcept for what I want to do. I just want to display the post title in the feature image, but Elements only displays the title under the menu. (See screenshot.)
January 23, 2020 at 6:55 am #1141541JOr, just go here to see what I’m talking about.
https://www.atnnow.com/ten-awesome-historical-words-we-should-bring-back/
January 23, 2020 at 7:19 am #1141580DavidStaffCustomer SupportOk 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
January 23, 2020 at 8:02 am #1141629JGetting close, but I can’t find where to put the PHP snippet.
January 23, 2020 at 8:55 am #1141673DavidStaffCustomer SupportThis document explains how to add PHP:
January 23, 2020 at 9:45 am #1141719JThat 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.
-
AuthorPosts
- You must be logged in to reply to this topic.