Archived topic
generate_before_page_title not showing in Elements Hooks options
5 replies · Started by antware on March 7, 2021
Hi guys is there any particular reason why the following hook generate_before_page_title does not show up as an option in the Elements Hooks dropdown?
Hi there,
that hook doesn't exist.
On the Single Post there is the generate_before_entry_title
For Pages you would need to use the: generate_before_content
You can see all the Main Hooks here:
It sure does David. Along with generate_after_page_title
I eventually had to use Custom Hook and enter the Hook name in there and then it worked.
Check out the screengrab of the content-page.php file
https://drive.google.com/file/d/16YI_IdhV-fzV0E1b60x_lgmqLCERX-51/view?usp=sharing
Hi there,
That's a good point.
I'll see if we can sneak that in with GPP 2.0 :)
Cheers Leo, much appreciated.
No problem :)