add_section( 'miscellaneous_section', array( 'title' => esc_html__( 'Miscellaneous', 'doo' ), 'priority' => 30, ) ); // Search Form Placeholder $wp_customize->add_setting( 'misc_search_placeholder', array( 'default' => esc_html__( 'Search ...', 'doo' ), 'sanitize_callback' => 'esc_attr', ) ); $wp_customize->add_control( 'misc_search_placeholder', array( 'label' => esc_html__( 'Search Form Placeholder', 'doo' ), 'section' => 'miscellaneous_section', 'type' => 'text', ) ); // "Read More" Button Label $wp_customize->add_setting( 'misc_label_readmore', array( 'default' => esc_html__( 'Read More', 'doo' ), 'sanitize_callback' => 'esc_html', ) ); $wp_customize->add_control( 'misc_label_readmore', array( 'label' => esc_html__( '"Read More" Button Label', 'doo' ), 'section' => 'miscellaneous_section', 'type' => 'text', ) ); // Scroll To Top Button $wp_customize->add_setting( 'misc_scroll_to_top', array( 'default' => 1, 'sanitize_callback' => 'vs_sanitize_checkbox', ) ); $wp_customize->add_control( 'misc_scroll_to_top', array( 'label' => esc_html__( 'Scroll To Top Button', 'doo' ), 'section' => 'miscellaneous_section', 'type' => 'checkbox', ) ); // Enable hover effects when you hover on featured images $wp_customize->add_setting( 'blog_images_hover_effects', array( 'default' => 0, 'sanitize_callback' => 'vs_sanitize_checkbox', ) ); $wp_customize->add_control( 'blog_images_hover_effects', array( 'label' => esc_html__( 'Enable hover effects when you hover on featured images', 'doo' ), 'section' => 'miscellaneous_section', 'type' => 'checkbox', ) ); // Load Google AdSense Scripts $wp_customize->add_setting( 'misc_adsense', array( 'default' => 0, 'sanitize_callback' => 'vs_sanitize_checkbox', ) ); $wp_customize->add_control( 'misc_adsense', array( 'label' => esc_html__( 'Load Google AdSense Scripts', 'doo' ), 'description' => esc_html__( 'Enable this if you\'re using Google AdSense.', 'doo' ), 'section' => 'miscellaneous_section', 'type' => 'checkbox', ) );