add_section( 'font_section' , array( 'title' => __('Fonts', 'business-store' ), 'description'=> __('500+ google fonts. Go Pro version.', 'business-store' ), ) ); $wp_customize->add_setting( 'navigation_font_size', array( 'default' => '16px', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_control('navigation_font_size' , array( 'label' => __('Top Menu Font Size','business-store' ), 'section' => 'font_section', 'type'=>'select', 'choices' => array( '14px' => __('14px','business-store' ), '15px' => __('15px','business-store' ), '16px' => __('16px','business-store' ), '17px' => __('17px','business-store' ), '18px' => __('18px','business-store' ), '19px' => __('19px','business-store' ), ), ) ); $wp_customize->add_setting( 'fontsscheme', array( 'default' => 'default', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'header_fontfamily', array( 'default' => 'PT Sans', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_setting( 'body_fontfamily', array( 'default' => 'Raleway', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_control( 'fontsscheme', array( 'type' => 'radio', 'label' => __( 'Font Scheme', 'business-store' ), 'choices' => array( 'default' => __( 'Default', 'business-store' ), 'custom' => __( 'Custom', 'business-store' ), ), 'section' => 'font_section', ) ); $wp_customize->add_control( 'header_fontfamily' , array( 'label' => __('Headings Font Family','business-store'), 'section' => 'font_section', 'type'=>'select', 'choices'=> business_store_font_family(), ) ); $wp_customize->add_control( 'body_fontfamily' , array( 'label' => __('Body Font Family','business-store'), 'section' => 'font_section', 'type'=>'select', 'choices'=> business_store_font_family(), ) );