I have been trying to remove some default widgets both from the admin panel and my default child theme with no luck.
For example, I added a search bar next to my main navigation through code and I would like to remove completely the "Search" widget.
I tried to remove these lines from widgets-extensions.php:
// Finished intializing Widgets plugin, now let's load the thematic default widgets register_widget('THM_Widget_Search'); register_widget('THM_Widget_Meta'); register_widget('THM_Widget_RSSlinks'); // Pre-set Widgets $preset_widgets = array ( 'primary-aside' => array( 'search-2', 'pages-2', 'categories-2', 'archives-2' ), 'secondary-aside' => array( 'links-2', 'rss-links-2', 'meta-2' ) );
but nothing changed.
Any suggestion would be very much appreciated