Archived topic
hook question
5 replies · Started by David on January 23, 2021
I'm starting to use Hooks more - love them :)
I'm sort of stumped as to why there isn't a hook between blog single post content and the section where categories/tags and next/previous blog posts links are...
Seems an obvious place to have one, I want to include ACF fields section after the main content, but it seems the only option is to turn those areas off in the customizer
TIA, Dave
Hi there,
the Footer Meta is hooked into the generate_after_content hook - you can use the same Hook and set a lower Priority eg. 5 to move content above it.
Hi David,
Just tried that, but it didn't seem to make a difference.
Cache plugin is turned off.
Link below to my play page where the post is located.
Gig Details and Table are the content of the Element
TIA, Dave
Hi,
You can use generate_after_entry_content instead and set priority to anything lower than 10. It's the hook between the content and the footer entry meta David mentioned.
Perfect that did it :)
Thanks Elvin...
No problem. Glad it works for you. :)