How to disable a hook on a specific page?
-
I need to put a shortcode (of related posts) in the hook “After Content”, it appears successfully in posts but It appears also in every custom page, It’s not needed for pages to have related posts, can you please show me a way to disable it from only some specific pages like “Home” page and “About” page and “Contact us” page …?
Thank you.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘How to disable a hook on a specific page?’ is closed to new replies.