'edit_theme_options', 'option_type' => 'theme_mod', ) ); Kirki::add_panel( 'panel_header', array( 'priority' => 10, 'title' => esc_html__( 'Header', 'bongo' ), ) ); Kirki::add_section( 'section_header', array( 'title' => esc_html__( 'Main Header', 'bongo' ), 'panel' => 'panel_header', 'priority' => 10, ) ); Kirki::add_field( 'wprig_header_config', array( 'section' => 'section_header', 'settings' => 'layout_field_header', 'label' => esc_html__( 'Header Layout', 'bongo' ), 'description' => esc_attr__( 'Select your header layout grid or full width. This option can be overridden per post/page setting', 'bongo' ), 'type' => 'radio-image', 'default' => 'full_width', 'priority' => 10, 'choices' => array( 'full_width' => get_template_directory_uri() . '/assets/images/fullscreen.png', 'boxed' => get_template_directory_uri() . '/assets/images/box.png', ), ) ); Kirki::add_field( 'wprig_header_config', array( 'section' => 'section_header', 'settings' => 'header_field_header_background_color', 'label' => esc_attr__( 'Header Background Color', 'bongo' ), 'description' => esc_attr__( 'Custom background color of Header', 'bongo' ), 'type' => 'color', 'default' => '', 'choices' => array( 'alpha' => true, ), 'output' => array( array( 'element' => '.site-header', 'property' => 'background-color', ), ), ) ); // Header nav menu Kirki::add_section( 'wprig_header_config', array( 'title' => esc_html__( 'Menu Area', 'bongo' ), 'panel' => 'panel_header', 'priority' => 10, ) ); Kirki::add_field( 'panel_header', array( 'settings' => 'main_menu_height', 'section' => 'wprig_header_config', 'label' => esc_attr__( 'Main Menu Height', 'bongo' ), 'description' => esc_attr__( 'Select the main menu height by px', 'bongo' ), 'type' => 'slider', 'choices' => array( 'min' => 0, 'max' => 150, 'step' => 1, ), 'default' => '', 'transport' => 'refresh', ) ); Kirki::add_field( 'panel_header', array( 'section' => 'wprig_header_config', 'settings' => 'menu_text_color', 'label' => esc_attr__( 'Menu Text Color', 'bongo' ), 'description' => esc_attr__( 'Custom color of menu text', 'bongo' ), 'type' => 'color', 'default' => '', ) ); Kirki::add_field( 'panel_header', array( 'section' => 'wprig_header_config', 'settings' => 'menu_hover_color', 'label' => esc_attr__( 'Menu Hover Color', 'bongo' ), 'description' => esc_attr__( 'Custom color of menu hover color', 'bongo' ), 'type' => 'color', 'default' => '', ) ); Kirki::add_field( 'panel_header', array( 'section' => 'wprig_header_config', 'settings' => 'menu_background_color', 'label' => esc_attr__( 'Background Color', 'bongo' ), 'description' => esc_attr__( 'Custom background color of header', 'bongo' ), 'type' => 'color', 'default' => '', ) );