WordPress: How to show/hide widgets on different pages

Widgets are a great way of displaying blocks of content on your site (check out our list of custom widgets on this page). However WordPress will display those widgets everywhere on your site where the widget section is enabled.

But what if you want to display a widget only on specific pages of your site? For example, you may wish to display an image widget on the homepage only.

All of our WordPress themes come with extra options to show/hide widgets in different sections of your site. To do this, simply click the “visiblity” button in any widget as shown below:

For example, if we wanted to show this widget on the Front page of your site, we would select the following options:

Was this article helpful?


  1. Rebecca

    I’m trying to hide a widget (in sidebar and Footer Full Width) on one of my pages. I have followed the “visibility” steps you suggested above and have also check I have also checked I have “Widget Visibility” enabled in Jetpack. The widget is still showing up on the page, is there anything else I can try?
    I am using Holly & Weave.

    1. Phil (pipdig)

      Hi Rebecca, what are the visibility rules which you have setup for the widgets? You may need to double check that they will be assigned to the desired sections/pages in your site.

  2. Ashley

    I’m wondering if I can add a “shop the post” widget to the homepage of the floating summary on my blossom theme?

    1. Phil (pipdig)

      Hi Ashley, that won’t be possible within each blog post. However you could use one of the “After x post (Homepage)” widget sections to add the feature between the blog posts.

  3. Antonia Ludden

    Hello, I need to put an image widget on the homepage only and can’t see a visibility option, even when I activate ‘Accessibility Mode’. I’m using Viva Viva, thanks.

    1. Phil (pipdig)

      Hi Antonia, this might be because you are using the Jetpack plugin. This will override the settings in the theme. If you go to ‘Jetpack > Modules’ is the module called “Widget Visibility” enabled?

      1. Antonia Ludden

        Brilliant, thanks Phil – that’s really helpful and seems to have solved it! 🙂

  4. barbara

    im trying to add an image to my contact page (using the opulence theme. I also want it displayed in the same way as the example on the opulence theme) but I don’t know how to do this.

    1. Phil (pipdig)

      Hi Barbara, the sidebar is disabled on your contact page currently. You can enable it via section 2 of this guide.

      1. barbara

        hi, I purposely changed the template in the page attributes section because the default template was displaying the archives and I don’t want that. I tried again by changing it back and adding a featured image but that didn’t work. I just want to display an image, social icons and my current location on the map; all on the right hand side. thats what I’m currently struggling with.

        1. Phil (pipdig)

          You could use the “Visibility” options described above to target the Contact page. So only those widgets appear on the Contact page and nowhere else on the site. The other alternative would be to hide the widgets you don’t want to appear on the Contact page.

  5. Shannon

    I’m not seeing this option on any of the widgets. Is that due to my theme (opulence)?

    1. Phil (pipdig)

      Hi Shannon, you may need to check if “Accessibility Mode” has been activated on your Widgets page. You can do that by clicking the “Screen Options” at the top then disabling it via the link https://imgur.com/a/6facm.

  6. Chelsea

    How do you do this with your About Me? I only want my About Me on my homepage but can’t find the settings to take it off of all my other pages.

    1. Phil (pipdig)

      Hi Chelsea, it should be possible to do this just the same when using the “Profile Photo” widget.

      Am I correct in thinking that you’re using the Blossom theme? I’m guessing you might be referring to the “About Me” feature within the Customizer? If so, this is not a widget so won’t have the same options as above.

      1. Chelsea

        Hi, Yes I am using the Blossom theme and the About Me feature. Will I not be able to hide it from the other pages?

        1. Phil (pipdig)

          Unfortunately not, otherwise it will knock-off the number of blog posts so there would be an empty space at the bottom.

  7. Megan

    I’m trying to hide the featured images on holly and weave on all pages but the home it does not have a visibility button. It’s hidden on every page except home and the blog feed. How can I fix?

Leave a comment

The link to your website will be visible to support staff only and will not be shown publicly.
If you do not yet have a website, simply enter "none" in the box.