Archived topic
Page Hero on Posts Not Working
5 replies · Started by Joseph on January 22, 2020
Hello,
Been trying to follow your video tutorial on homepage also your docs.generate press on how to create a page hero header.
Unfortunately, nothing seems to work.
Hi there,
Can you first try duplicating this example here:
https://docs.generatepress.com/article/page-hero-examples/#example-1
And choose Posts > All posts under display rules?
Let me know :)
Hi Leo,
Already tried that approach. I even copied this code - <h1>{{post_title}}</h1>
[page_hero_gravatar] {{post_author}} {{post_date}} because there's no pre code entered there but there was in the video.
followed what was shown in the video and in the link I gave you.
Nothing happened.
The image is not appearing but I wanted each post to look like this https://docs.generatepress.com/wp-content/uploads/2018/08/page_hero_example_2.png
Hi there,
Can you send us screenshots of the Header Element Settings and Display Rules?
Thanks for your reply..
See images here - https://docs.google.com/document/d/1Ess3borO7kSV6VZpcMJd6qcdnmhJHpiczZFr8nnM3hg/edit
Looks like you are missing some content.
See the first sentence for the explanation here:
https://docs.generatepress.com/article/how-to-create-a-page-hero/#step-1-add-the-content
Let me know :)