'select', 'settings' => 'businessmax_options[primary_sidebar]', 'label' => esc_html__( 'Sidebar Layout', 'business-max' ), 'description' => esc_html__( 'Sidebar Layout, apply this setting for all post and pages, exclude home page and custom page templates.', 'business-max' ), 'section' => 'global_settings', 'default' => 'right', 'priority' => 1, 'multiple' => 1, 'choices' => [ 'left' => esc_html__( 'Left', 'business-max' ), 'right' => esc_html__( 'Right', 'business-max' ), 'none' => esc_html__( 'None', 'business-max' ), ], ] ); Kirki::add_field( 'business_max_config', [ 'type' => 'switch', 'settings' => 'businessmax_options[btt_enable]', 'label' => esc_html__( 'Footer back to top button', 'business-max' ), 'section' => 'global_settings', 'default' => $option['btt_enable'], 'priority' => 2, 'choices' => [ 'on' => esc_html__( 'Enable', 'business-max' ), 'off' => esc_html__( 'Disable', 'business-max' ), ], ] ); Kirki::add_field( 'business_max_config', [ 'type' => 'switch', 'settings' => 'businessmax_options[animation_effect_enable]', 'label' => esc_html__( 'Animation Effect', 'business-max' ), 'section' => 'global_settings', 'default' => $option['animation_effect_enable'], 'priority' => 3, 'choices' => [ 'on' => esc_html__( 'Enable', 'business-max' ), 'off' => esc_html__( 'Disable', 'business-max' ), ], ] ); Kirki::add_field( 'business_max_config', [ 'type' => 'switch', 'settings' => 'businessmax_options[google_fonts_enable]', 'label' => esc_html__( 'Google Fonts', 'business-max' ), 'section' => 'global_settings', 'default' => $option['google_fonts_enable'], 'priority' => 4, 'choices' => [ 'on' => esc_html__( 'Enable', 'business-max' ), 'off' => esc_html__( 'Disable', 'business-max' ), ], ] ); // footer contact information settings Kirki::add_field( 'business_max_config', [ 'type' => 'text', 'settings' => 'businessmax_options[footer_address]', 'label' => esc_html__( 'Footer Address', 'business-max' ), 'section' => 'footer_settings', 'default' => $option['footer_address'], ] ); Kirki::add_field( 'business_max_config', [ 'type' => 'text', 'settings' => 'businessmax_options[footer_email]', 'label' => esc_html__( 'Footer Email', 'business-max' ), 'section' => 'footer_settings', 'default' => $option['footer_email'], ] ); Kirki::add_field( 'business_max_config', [ 'type' => 'text', 'settings' => 'businessmax_options[footer_phone]', 'label' => esc_html__( 'Footer Phone No.', 'business-max' ), 'section' => 'footer_settings', 'default' => $option['footer_phone'], ] ); Kirki::add_field( 'business_max_config', [ 'type' => 'text', 'settings' => 'businessmax_options[footer_social_title]', 'label' => esc_html__( 'Footer social title', 'business-max' ), 'section' => 'footer_settings', 'default' => $option['footer_social_title'], ] ); function business_max_theme_options( $wp_customize ){ $wp_customize->get_section( 'colors' )->panel = 'general_settings'; $wp_customize->get_section( 'header_image' )->panel = 'general_settings'; $wp_customize->get_section( 'background_image' )->panel = 'general_settings'; } add_action( 'customize_register', 'business_max_theme_options' ); ?>