Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

How to Show or Hide Widgets on Specific WordPress Pages

Last updated on by
Elegant Themes
How to Show or Hide Widgets on Specific WordPress Pages

In our previous article, we showed you how you can extend the power of your default WordPress widgets. We mentioned a plugin called Widget Logic which you could use to show the widget on specific pages utilizing the conditional tags. But not everyone can understand those conditional tags. For users who want to change the sidebar content with different pages and avoid creating multiple sidebars and duplicating widgets, you can use a plugin called Display Widgets.

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:

Display Widgets Plugin Screenshot

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.


Editorial Staff at WPBeginner is a team of WordPress lovers led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »
  • AyhanSipahi

    i used to use widget logic before this.

    is_page(); is_single(23,454,53,1,); used to use code based taxonomies

  • wpbeginner

    @Ynotwebdesigns Yes it is because we tried it :)

  • Ynotwebdesigns

    Is this plugin compatible with the latest WP version?