How to Exclude Post Categories in WordPress Widgets

Here’s a way to exclude post categories in WordPress widgets.
Put the code below in your themes functions.php file.

Code:

 

Leave a Reply

Your email address will not be published. Required fields are marked *