Wordpress > Exclude specific categories from categories listing
- by Scott B
I have created some functional categories that I use to show/hide markup elements. However, when I go to list the legit categories, these show up too, which I would expect. I want to list the legitimate categories and omit others.
I need to know how you would do it under two circumstances....
1) Each category that I want to exclude is preceded by an underscore character in its name.
2) Each category that I want to exclude is NOT preceeded by a special character and I will just provide an ID to the script that handles the exclusion listing.