esc_html__( 'Misc Settings', 'bloghash' ), 'panel' => 'bloghash_panel_general', 'priority' => 60, ); // Schema toggle. $options['setting']['bloghash_enable_schema'] = array( 'transport' => 'postMessage', 'sanitize_callback' => 'bloghash_sanitize_toggle', 'control' => array( 'type' => 'bloghash-toggle', 'label' => esc_html__( 'Schema Markup', 'bloghash' ), 'description' => esc_html__( 'Add structured data to your content.', 'bloghash' ), 'section' => 'bloghash_section_misc', ), ); // Custom form styles. $options['setting']['bloghash_custom_input_style'] = array( 'transport' => 'postMessage', 'sanitize_callback' => 'bloghash_sanitize_toggle', 'control' => array( 'type' => 'bloghash-toggle', 'label' => esc_html__( 'Custom Form Styles', 'bloghash' ), 'description' => esc_html__( 'Custom design for checkboxes and radio buttons.', 'bloghash' ), 'section' => 'bloghash_section_misc', ), ); // Enable/Disable Page Preloader. $options['setting']['bloghash_preloader'] = array( 'transport' => 'refresh', 'sanitize_callback' => 'bloghash_sanitize_toggle', 'control' => array( 'type' => 'bloghash-toggle', 'label' => esc_html__( 'Enable Page Preloader', 'bloghash' ), 'description' => esc_html__( 'Show animation until page is fully loaded.', 'bloghash' ), 'section' => 'bloghash_section_misc', ), ); // Enable/Disable Scroll Top. $options['setting']['bloghash_scroll_top'] = array( 'transport' => 'refresh', 'sanitize_callback' => 'bloghash_sanitize_toggle', 'control' => array( 'type' => 'bloghash-toggle', 'label' => esc_html__( 'Enable Scroll Top Button', 'bloghash' ), 'description' => esc_html__( 'A sticky button that allows users to easily return to the top of a page.', 'bloghash' ), 'section' => 'bloghash_section_misc', ), ); // Enable/Disable Cursor Dot. $options['setting']['bloghash_enable_cursor_dot'] = array( 'transport' => 'refresh', 'sanitize_callback' => 'bloghash_sanitize_toggle', 'control' => array( 'type' => 'bloghash-toggle', 'label' => esc_html__( 'Enable Cursor Dot', 'bloghash' ), 'description' => esc_html__( 'A cursor dot effect show on desktop size mode only with work on mouse.', 'bloghash' ), 'section' => 'bloghash_section_misc', ), ); return $options; } } endif; new Bloghash_Customizer_Misc();