Home>Support>Remove widgets

Remove widgets

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi,

Just want to tidy up the widget area, which are done nicely with the WP-CMS Widget Control plugin.

WP-CMS Widget Control

The Siteorigin widgets also shows up in this plugin, and I am able to hide them in the widgets area, however they do still show up in PageBuilder > Add New Widget.

Is there a way to remove certain widgets from PageBuilder > Add New Widget.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 5 months ago Greg Priday
    Hi, I Work Here

    Hi Hans

    At the moment, it’s only possible to add/remove widgets from the add widget dialog using code. There isn’t a way to do this within the WordPress admin itself.

    Here’s how you’d do that with code.

    function mytheme_remove_widgets($widgets){
        unset($widgets['Unwanted_Widget_Class']);
        return $widgets;
    }
    add_filter('siteorigin_panels_widgets', 'mytheme_remove_widgets');
    
Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More