Site logo

Archived topic

Show Hook for all sites except page1 and page2

3 replies · Started by Jonathan on July 8, 2019

Viewing posts 1–4 of 4

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

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.

Awesome :)

This archived topic is closed to new replies.