So you’re building your own store theme or maybe you’re using a commercial theme and it does make sense for you to load the same products or same information on two places on the same page or maybe you don’t want the widget to show on other pages for some reasons. Remember always try to load less and useful information and resources as possible to speed up your pages and keep your customers happy.
In this simple snippet post will show you how to hide certain widgets on pages depending on your wish.. and to get started … customize this code to meet your need or to fit the widget and the pages your targeting then add it in your
FYI: If you inspect the sidebar every widget has its own unique id .
Remember never add any code snippet on a live or production site, always test it on a stating or local site but if you’re a pro ofcoz you can do it.