Quick one – if a page is a specific category page?
-
daft question i know but can’t seem to find the answer:
if i’m outside the loop how do i check for category?
in english what i want is: if the category is number 5, do this…
thought maybe it was
if ($page->cat_ID=”5″) {
but it isn’t, could anyone help out?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Quick one – if a page is a specific category page?’ is closed to new replies.