How To Show or Hide Specific Widgets In Your WordPress Sidebars

I bet that you have more than one type of content on your WordPress site. So why is your sidebar the same across every single page and category? Using different sidebars for different pages and categories allows you to offer readers a browsing experience that’s much more specific to their needs.

Using different sidebars allows you to offer your readers a better experience by making it easy for them to find content that fits their interests. For example, If you had a blog that was divided in two categories such as basketball and baseball; You could show basketball information in the sidebar on the basketball category pages and baseball information on baseball category pages.

I’m going to show you exactly how to do it using two different ways. The first being the plugin way and if you like getting your hands dirty with code Im going to show you how to do that too.

The Display Widgets Plugin

To control your widget display, I recommend using the awesome Display Widgets plugin.

Display Widgets makes it very easy to show or hide any widget on any type of page. It provides a robust set of options, but is still simple to learn and use.

Display Widgets plugin adds checkboxes to each widget to either show or hide it on every site page. Look at the screenshot below for example:

All you have to do to get this functionality is install and activate Display Widgets plugin. Then go to the Widgets menu and show the options panel for the widget you would like to hide or show on specific pages.