Exclude categories from the WordPress category widget

Below is the code which you can add in the functions.php file of your active theme to exclude one or more categories from the default WordPress category widget.

Share

Disclaimer: *This post may contain affiliate links. I may earn a small commission when you click on the links and buy the products with no additional cost to you. Thank you.

Jetpack

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest
Inline Feedbacks
View all comments