Home › Forums › Support › Show Hook for all sites except page1 and page2 This topic has 3 replies, 2 voices, and was last updated 4 years, 9 months ago by Leo. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts July 8, 2019 at 8:07 am #952127 Jonathan Hello, I was hoping someone could help me out with some conditional logic to display an element hook for all pages except two pages with a certain template i.e nohook.php thanks Jon July 8, 2019 at 8:26 am #952147 LeoStaff Customer Support Hi there, I assume the Display Rules doesn’t do it? https://docs.generatepress.com/article/hooks-element-overview/#display-rules If not we will need this filter: https://docs.generatepress.com/article/generate_hook_element_display/ I’m not exactly sure the conditional tag you are looking for but does this help? https://codex.wordpress.org/Conditional_Tags Let me know ๐ July 11, 2019 at 8:01 am #955022 Jonathan Thanks. I looked at the codex and used a negative conditional statement to say show this as default if these pages don’t use a certain template. July 11, 2019 at 9:37 am #955096 LeoStaff Customer Support Awesome ๐ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In