Archived topic
Banner After Featured Image
5 replies · Started by George on February 27, 2021
Hello there.
I am trying to do 3 things:
1) Place The banner (generate_after_header) placed between the website logo and the menu (I will expand the menu) but I can't find a hook that works next to the logo.
2) I am trying to place a second banner BELOW FEATURED IMAGE(articles only) but non of the options in hooks (elements) work, the closest I get is above the featured image.
3) How can I remove the empty space on the bottom?
Thank you :)
Hi George,
1) Try generate_after_logo hook.
2) Unfortuanly there's no hook for that location.
3) There's a paragraph block underneath the site footer, delete it the space will be gone.
Let me know :)
Hi thank you.
I encountered another problem, any idea why this might be happening?
I tried to close the wp-rocket but still persists.
This question is not related to the topic, could you open a new topic for this?
Thanks!
In case anyone else is having this problem, I figured out how to run a hook below the featured image (Question #2).
- Create a new hook
- Set the hook location to
generate_after_entry_header. That will cause the hook to appear ABOVE the featured logo. - To get it to appear below the featured image, set the "priority" to something above 10. I used 20.
Thanks Alex!
That's the exact solution you need :)