startribe
Member
Posted 2 years ago #
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
Well, this:
<?php if( is_category('interview') ) { echo 's'; } ?>
should work. That is, if it's really on a category query (and not a single post page for a post in that category).
startribe
Member
Posted 2 years ago #
It worked!
I love this forum, I am looking forward to when I get good enough to help with this stuff too.
Thank you so much Kafkaesqui,
All the Best,
Orion