help on PHP if command
-
Hey Community,
I am trying to come up with a conditional command that will display or write and s if the the page is of my interview category. What I have is:
<?php if(is_category('interview')) { echo ('s')}; ?>
I know I’m off, and any help would be greatly appreciated.
Thanks,
orion
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘help on PHP if command’ is closed to new replies.