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:

How to show/hide a widget on the mobile layout

It is also possible to show/hide specific widgets on the mobile and desktop layout via this guide.

Was this article helpful?