From cd7aa7b6a7eab2da34db92b052d12268570d3c98 Mon Sep 17 00:00:00 2001 From: James Rosado Date: Thu, 11 Jun 2020 13:36:56 -0400 Subject: [PATCH] moved conainter subsection to 'if' conditional --- .../configs/customizer/sections.config.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/includes/configs/customizer/sections.config.php b/src/includes/configs/customizer/sections.config.php index bdfeb503b..45c7d4e4b 100644 --- a/src/includes/configs/customizer/sections.config.php +++ b/src/includes/configs/customizer/sections.config.php @@ -41,14 +41,6 @@ 'capability' => 'edit_theme_options', 'icon' => 'icon-layout-container', ), - 'bgtfw_layout_woocommerce_container' => array( - 'title' => __( 'Container', 'bgtfw' ), - 'panel' => 'bgtfw_design_panel', - 'section' => 'bgtfw_layout_woocommerce', - 'description' => esc_html__( 'This section controls the container for your WooCommerce pages.', 'bgtfw' ), - 'capability' => 'edit_theme_options', - 'icon' => 'icon-layout-container', - ), 'bgtfw_layout_page_sidebar' => array( 'title' => __( 'Sidebar', 'bgtfw' ), 'panel' => 'bgtfw_design_panel', @@ -421,6 +413,14 @@ 'priority' => 1, 'icon' => 'dashicons-admin-page', ); + $sections_array['bgtfw_layout_woocommerce_container'] = array( + 'title' => __( 'Container', 'bgtfw' ), + 'panel' => 'bgtfw_design_panel', + 'section' => 'bgtfw_layout_woocommerce', + 'description' => esc_html__( 'This section controls the container for your WooCommerce pages.', 'bgtfw' ), + 'capability' => 'edit_theme_options', + 'icon' => 'icon-layout-container', + ); } return $sections_array;