add_section('general', array( 'title' => __('General ','bordered'), 'priority' => 7, 'panel' => 'panel_bordered' )); // Site Title Size $wp_customize->add_setting('blog_title_size', array( 'sanitize_callback' => 'esc_attr', 'default' => 3, 'transport' => 'refresh' )); $wp_customize->add_control( 'blog_title_size', array( 'type' => 'range', 'priority' => 1, 'section' => 'general', 'label' => __('Site Title Size','bordered'), 'input_attrs' => array( 'min' => 1, 'max' => 4, 'step' => 0.5, 'style' => 'width:100%;height:15px', ), ) ); // Section Title Size $wp_customize->add_setting('title_size', array( 'sanitize_callback' => 'esc_attr', 'default' => 2, 'transport' => 'refresh' )); $wp_customize->add_control( 'title_size', array( 'type' => 'range', 'priority' => 2, 'section' => 'general', 'label' => __('Section Title Size','bordered'), 'input_attrs' => array( 'min' => 1, 'max' => 4, 'step' => 0.5, 'style' => 'width:100%;height:15px', ), ) ); // Copyright Text $wp_customize->add_setting('copy_text', array( 'sanitize_callback' => 'esc_attr', 'default' => __('© Copyright 2018 | Bordered a Wordpress theme.','bordered'), 'transport' => 'refresh' )); $wp_customize->add_control('copy_text', array( 'section' => 'general', 'label' => __('Copyright Text','bordered'), 'type' => 'text', 'priority' => 5 )); $wp_customize->selective_refresh->add_partial( 'copy_text', array( 'selector' => '.copyright', ) ); // More $wp_customize->add_setting('more_s', array( 'sanitize_callback' => 'esc_attr', 'default' => '', 'transport' => 'refresh' )); $wp_customize->add_control('more_s', array( 'section' => 'general', 'label' => __('More Customize','bordered'), 'description' => 'at soon..', 'type' => 'hidden' )); ?>