The SiteOrigin Widgets Bundle is one of my favorite plugins, not only because it has a bundle of widgets, but also because it is very extendable and allows other developers to customize and add more features to each widget. Moreover the guys of Siteorigin also provide a guide on how to extend the plugin (see https://siteorigin.com/docs/widgets-bundle/)
Recently I wanted to use the slider of the SiteOrigin Widgets Bundle but I also wanted to be able to hide a frame or two – not deleted, which is the default option if you don’t want to display them anymore. Hiding and not deleting frames is a useful feature when you have frames for special occasions and don’t want to recreate them each time you need them.
The only thing needed is a checkbox “Hide this frame” into the frame’s tab, which then should be “be respected” by the rendering function of the slider, so the specific frame won’t be displayed.
So the addition of this extra functionality in the SiteOrigin slider turn out to be very easy.
All you have to do is to add the following code into your theme’s functions.php file