esc_html__( 'Breadcrumbs', 'bloghash' ), 'panel' => 'bloghash_panel_header', 'priority' => 70, ); // Breadcrumbs. $options['setting']['bloghash_breadcrumbs_enable'] = array( 'transport' => 'refresh', 'sanitize_callback' => 'bloghash_sanitize_toggle', 'control' => array( 'type' => 'bloghash-toggle', 'label' => esc_html__( 'Enable Breadcrumbs', 'bloghash' ), 'section' => 'bloghash_section_breadcrumbs', ), ); // Hide breadcrumbs on. $options['setting']['bloghash_breadcrumbs_hide_on'] = array( 'transport' => 'refresh', 'sanitize_callback' => 'bloghash_no_sanitize', 'control' => array( 'type' => 'bloghash-checkbox-group', 'label' => esc_html__( 'Disable On: ', 'bloghash' ), 'description' => esc_html__( 'Choose on which pages you want to disable breadcrumbs. ', 'bloghash' ), 'section' => 'bloghash_section_breadcrumbs', 'choices' => bloghash_get_display_choices(), 'required' => array( array( 'control' => 'bloghash_breadcrumbs_enable', 'value' => true, 'operator' => '==', ), ), ), ); // Spacing. $options['setting']['bloghash_breadcrumbs_spacing'] = array( 'transport' => 'postMessage', 'sanitize_callback' => 'bloghash_sanitize_responsive', 'control' => array( 'type' => 'bloghash-spacing', 'label' => esc_html__( 'Spacing', 'bloghash' ), 'description' => esc_html__( 'Specify top and bottom padding.', 'bloghash' ), 'section' => 'bloghash_section_breadcrumbs', 'choices' => array( 'top' => esc_html__( 'Top', 'bloghash' ), 'bottom' => esc_html__( 'Bottom', 'bloghash' ), ), 'responsive' => true, 'unit' => array( 'px', ), 'required' => array( array( 'control' => 'bloghash_breadcrumbs_enable', 'value' => true, 'operator' => '==', ), ), ), ); return $options; } } endif; new Bloghash_Customizer_Breadcrumbs();