Remove widgets
Hi,
Just want to tidy up the widget area, which are done nicely with the WP-CMS Widget Control plugin.
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
1Hi 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.