Quick WordPress question. Is it possible to check against a specific category, so not to display it? I tried this, but my category was still being echoed (no errors).
<?php if (the_category() != "NAMEOFMYCATEGORY") { the_category(' | '); } ?>
Or would I need to work with a new function?
To clarify: I want to HIDE 1 specific category so it doesn’t show up.
This should work:
The name is Caps sensitive.
Why not to use the codex version?
also do you remember in_category() ?
I think you need to do something like this, if i got ur question correctly 🙂
NEW EDIT—
or this is what else u are looking for —