add_section( 'miscellaneous_section', array( 'title' => esc_html__( 'Miscellaneous', 'neblue' ), 'priority' => 30, ) ); // Search Form Placeholder $wp_customize->add_setting( 'misc_search_placeholder', array( 'default' => esc_html__( 'Search ...', 'neblue' ), 'sanitize_callback' => 'esc_attr', ) ); $wp_customize->add_control( 'misc_search_placeholder', array( 'label' => esc_html__( 'Search Form Placeholder', 'neblue' ), 'section' => 'miscellaneous_section', 'type' => 'text', ) ); // "Read More" Button Label $wp_customize->add_setting( 'misc_label_readmore', array( 'default' => esc_html__( 'Read More', 'neblue' ), 'sanitize_callback' => 'esc_html', ) ); $wp_customize->add_control( 'misc_label_readmore', array( 'label' => esc_html__( '"Read More" Button Label', 'neblue' ), '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', 'neblue' ), 'section' => 'miscellaneous_section', 'type' => 'checkbox', ) ); // Blog Pagination or Navigation $wp_customize->add_setting( 'blog_pagination', array( 'default' => 'pagination', 'sanitize_callback' => 'vs_sanitize_blog_pagination', ) ); $wp_customize->add_control( 'blog_pagination', array( 'label' => esc_html__( 'Blog Pagination or Navigation', 'neblue' ), 'section' => 'miscellaneous_section', 'type' => 'radio', 'choices' => array( 'pagination' => esc_html__( 'Pagination', 'neblue' ), 'navigation' => esc_html__( 'Navigation', 'neblue' ), ), ) ); // 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', 'neblue' ), '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', 'neblue' ), 'description' => esc_html__( 'Enable this if you\'re using Google AdSense.', 'neblue' ), 'section' => 'miscellaneous_section', 'type' => 'checkbox', ) );