Archived topic
Hook after_entry_title for pages
5 replies · Started by Jose on November 15, 2018
I want to add ads after page title. The hook after_entry_title works fine for posts, but not for pages.
Any approachment?
Thanks!
Hi there,
use the after_entry_header
This guide shows the main hook locations
I have two questions:
1. This works for Pages?
2. Is possible to use in GP Elements or need a custom code?
Thanks!
Yep - if you scroll down that link you will see the hooks for static pages there.
You can use GP Elements - they are all listed. Just without the generate_ before them
I've already discovered my mistake. For static pages must be use after_entry_header not after_entry_title.
Thanks for the guide!
Glad to be of help.