Conditional tag for pages without an ID.
-
I want to run some code on every page that DOESN’T have a page ID.
From what I can tell, these pages have an ID of 0/null, but using the conditional tag is_page(0) returns true for ALL pages.
Any ideas how to do this?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Conditional tag for pages without an ID.’ is closed to new replies.