How to make this category condition?
-
Here is the page I have:
https://www.website.com/?page_id=33&category=77I want to make a condition on category 77, here is what I am doing:
if (is_category('77')) { }
or even:
if (is_page('33') && (is_category('77'))) { }
It seams to return false all the time, can someone help me here?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘How to make this category condition?’ is closed to new replies.