Home › Forums › Support › Can I make hooks open only on certain pages? › Reply To: Can I make hooks open only on certain pages?
January 29, 2015 at 8:31 am
#70009
Carlos Paramio
I’m also playing with the Yoast SEO plugin and have put breadcrums ‘Before content’ with GP Hooks.
Tom, following that link you posted I have set ‘is_singular()’ for the breadcrums apperaing when you open “A Single Page, a Single Post, an Attachment or Any Other Custom Post Type”
But I don’t know if that’s exactly what I need: I want the breadcrums to appear wherever you are (posts, pages, subpages, etc.) except when you’re in the home page
Do you have a better code for that?
Merci