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.