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.

To add this functionality to WordPress, you can use a plugin such as Conditional Widgets. Please note we cannot offer support for 3rd party plugins, however you can get support on the plugin's forum page if needed.

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?