This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Remove widgets

11 years ago · Last reply by Greg Priday 11 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Greg Priday Staff 11 years, 29 days ago

    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.

Have a different question or issue?

Start New Thread