Archived topic
After content hook
1 reply · Started by Bradley on November 20, 2016
Viewing posts 1–2 of 2
Is there a way to exclude a hook on static pages and only use it within posts? The after content hook does not isolate it from static page content.
You can use PHP in hooks, so you can take advantage of WordPress conditionals: https://codex.wordpress.org/Conditional_Tags
This archived topic is closed to new replies.