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

How to Show or Hide Widgets on Specific WordPress Pages

Last updated on by
Special WordPress Hosting offer for WPBeginner Readers
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.

Video Tutorial

If you don’t like the video or need more instructions, then continue reading.

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 experts 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 »


  1. Victor says:

    Hey, does this work with WP 4.5.4 or later? Because I have installed it and shows no difference. Im trying to hide a widget from a page.


  2. Mahendra says:

    It will work 100% on some themes.
    But in other themes when you will hide widget, a message will display instead of widget.

    I have a trick for second type of themes.

    Add only text widget, inside the text widget, text will be nothing.

    I have used this trick in my sites. for example I have used in my own site.

  3. Jeff says:

    Thanks for the post, i’ve been trying to figure this out for quite some time

  4. Robert says:

    I don´t think it works with WP 4.5?

  5. Anne says:

    Does this plugin also work with posts rather than pages?

  6. Mujahid Rasul says:

    I installed and used Widgets Display plugin. why hidden widgets are still occupying space in the site pages. I mean the there should be left only one column showing the text on the whole screen. Now the widgets are not showing but space is empty. please provide solution of this problem

  7. Bob Clinton says:

    Installed on WP 4.3 and WP 3.5.1 Just get a blank text area field under the words “Widget logic: ”

    What am I missing???

  8. Anurag Singh says:

    very nice i am very thank full to you wondering from last month for this.
    now it’s done

  9. AyhanSipahi says:

    i used to use widget logic before this.

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

  10. wpbeginner says:

    @Ynotwebdesigns Yes it is because we tried it :)

  11. Ynotwebdesigns says:

    Is this plugin compatible with the latest WP version?

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.