apply conditional statments to category and any of its children
-
Hi to save me writing numerous else if statements i want to apply one elseif to a catagory and any of its children and sub children etc
so far i have this:
<?php } elseif ( is_category('3',)) { ?> <p>some thing that applies to these categories here</p>
I guess i need to get this bit right:
<?php } elseif ( is_category('3',)) { ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘apply conditional statments to category and any of its children’ is closed to new replies.