From c3ea455ffb97589f4fcd626cb354f37425898680 Mon Sep 17 00:00:00 2001 From: Frank419 Date: Tue, 27 Aug 2024 17:43:47 +0800 Subject: [PATCH] Actually remove the definitions of the menu widgets. --- functions.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/functions.php b/functions.php index 2cbcaad..f4ea89b 100644 --- a/functions.php +++ b/functions.php @@ -62,24 +62,6 @@ function minimalistflex_enqueue_files() { add_action( 'wp_head', 'minimalistflex_enqueue_files' ); function minimalistflex_widgets_init() { - register_sidebar( array( - 'name' => _x( 'Menu', 'sidebar name' , 'minimalistflex' ), - 'id' => 'menu', - 'description' => __( 'Widgets in this area will be shown at the right in the main navigation menu dropdown.', 'minimalistflex' ), - 'before_widget' => '', - 'before_title' => '', - ) ); - register_sidebar( array( - 'name' => _x( 'Menu 2', 'sidebar name' , 'minimalistflex' ), - 'id' => 'menu-2', - 'description' => __( 'Widgets in this area will be shown at the middle in the main navigation menu dropdown. Will be hidden when submenu items were shown.', 'minimalistflex' ), - 'before_widget' => '', - 'before_title' => '', - ) ); register_sidebar( array( 'name' => _x( 'Main Sidebar', 'sidebar name' , 'minimalistflex' ), 'id' => 'main-sidebar',