add_section( 'BillyDroid_iconpost_options', array( 'title' => __( 'Icon post', 'BillyDroid' ), 'priority' => 36, 'description' => __( 'Setting for show icons post', 'BillyDroid' ) ) ); /* icon_post author*/ $wp_customize->add_setting('BillyDroid_theme_options[iconpost_author]', array( 'default' => $options['iconpost_author'], 'capability' => 'edit_theme_options', 'transport' => 'postMessage', )); $wp_customize->add_control( 'BillyDroid_body_options_iconpost_author', array( 'label' => __( 'Show icon post author', 'BillyDroid' ), 'section' => 'BillyDroid_iconpost_options', 'settings' => 'BillyDroid_theme_options[iconpost_author]', 'type' => 'checkbox', 'priority' => 5, ) ); /* icon_post date*/ $wp_customize->add_setting('BillyDroid_theme_options[iconpost_date]', array( 'default' => $options['iconpost_date'], 'capability' => 'edit_theme_options', 'transport' => 'postMessage', )); $wp_customize->add_control( 'BillyDroid_body_options_iconpost_date', array( 'label' => __( 'Show icon post date', 'BillyDroid' ), 'section' => 'BillyDroid_iconpost_options', 'settings' => 'BillyDroid_theme_options[iconpost_date]', 'type' => 'checkbox', 'priority' => 6, ) ); /* icon_post category*/ $wp_customize->add_setting('BillyDroid_theme_options[iconpost_category]', array( 'default' => $options['iconpost_category'], 'capability' => 'edit_theme_options', 'transport' => 'postMessage', )); $wp_customize->add_control( 'BillyDroid_body_options_iconpost_category', array( 'label' => __( 'Show icon post category', 'BillyDroid' ), 'section' => 'BillyDroid_iconpost_options', 'settings' => 'BillyDroid_theme_options[iconpost_category]', 'type' => 'checkbox', 'priority' => 7, ) ); /* icon_post tags*/ $wp_customize->add_setting('BillyDroid_theme_options[iconpost_tags]', array( 'default' => $options['iconpost_tags'], 'capability' => 'edit_theme_options', 'transport' => 'postMessage', )); $wp_customize->add_control( 'BillyDroid_body_options_iconpost_tags', array( 'label' => __( 'Show icon post tags', 'BillyDroid' ), 'section' => 'BillyDroid_iconpost_options', 'settings' => 'BillyDroid_theme_options[iconpost_tags]', 'type' => 'checkbox', 'priority' => 8, ) ); /* icon_post comments*/ $wp_customize->add_setting('BillyDroid_theme_options[iconpost_comments]', array( 'default' => $options['iconpost_comments'], 'capability' => 'edit_theme_options', 'transport' => 'postMessage', )); $wp_customize->add_control( 'BillyDroid_body_options_iconpost_comments', array( 'label' => __( 'Show icon post comments', 'BillyDroid' ), 'section' => 'BillyDroid_iconpost_options', 'settings' => 'BillyDroid_theme_options[iconpost_comments]', 'type' => 'checkbox', 'priority' => 9, ) ); /* icon_post comments2*/ $wp_customize->add_setting('BillyDroid_theme_options[iconpost_comments2]', array( 'default' => $options['iconpost_comments2'], 'capability' => 'edit_theme_options', 'transport' => 'postMessage', )); $wp_customize->add_control( 'BillyDroid_body_options_iconpost_comments2', array( 'label' => __( 'Show icon post comments2', 'BillyDroid' ), 'section' => 'BillyDroid_iconpost_options', 'settings' => 'BillyDroid_theme_options[iconpost_comments2]', 'type' => 'checkbox', 'priority' => 10, ) ); ?>