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.

Hide default Widgets

7 years ago · Last reply by Mathis Hüttl 7 years ago

Hello,

I am new with the SiteOrigin PageBuilder. I want to hide default Widgets like Navigation, Meta, Search, … so I found this snippet:

function mytheme_remove_widgets($widgets){
    unset($widgets['Unwanted_Widget_Class']);
    return $widgets;
}
add_filter('siteorigin_panels_widgets', 'mytheme_remove_widgets');

But I can’t figure out what the class names of the default widgets are. I looked into the plugins/siteorigin-panels/widgets/widgets folder, but there are only a few widgets.

So how can I remove default widgets like Navigation, Meta, Search?

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Mathis Hüttl 7 years, 8 months ago

    Need help guys..

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