Do you want to hide or remove a specific category from displaying in the post meta area of a WordPress theme? By default, we can either remove or hide all categories or display all categories assigned to a specific post. Since, each category does not have unique CSS class, we can not use display:none; function to target a specific category.
PHP code to remove Categories from post meta
Just add following code to functions.php file of your theme. It should work on any WordPress theme (it was tested successfully on Genesis Sample Theme).
The above code removes: “Featured” and “Category #1” from the post meta area. (Code Credits)
Before & After in Genesis Sample theme
If you use categories for personal organization of posts in the back-end, you can easily hide those categories assigned to posts in the front end using code shared above.