'slider', 'settings' => 'arcade_games_logo_resizer', 'label' => esc_html__( 'Adjust Your Logo Size ', 'arcade-games' ), 'section' => 'title_tagline', 'choices' => [ 'min' => 10, 'max' => 245, 'step' => 5, ], ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_enable_logo_text', 'section' => 'title_tagline', 'default' => '

' . __( 'Enable / Disable Site Title and Tagline', 'arcade-games' ) . '

', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'switch', 'settings' => 'arcade_games_display_header_title', 'label' => esc_html__( 'Site Title Enable / Disable Button', 'arcade-games' ), 'section' => 'title_tagline', 'default' => true, 'priority' => 10, 'choices' => [ 'on' => esc_html__( 'Enable', 'arcade-games' ), 'off' => esc_html__( 'Disable', 'arcade-games' ), ], ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'switch', 'settings' => 'arcade_games_display_header_text', 'label' => esc_html__( 'Tagline Enable / Disable Button', 'arcade-games' ), 'section' => 'title_tagline', 'default' => false, 'priority' => 10, 'choices' => [ 'on' => esc_html__( 'Enable', 'arcade-games' ), 'off' => esc_html__( 'Disable', 'arcade-games' ), ], ] ); // FONT STYLE TYPOGRAPHY Kirki::add_panel( 'arcade_games_panel_id', array( 'priority' => 10, 'title' => esc_html__( 'Typography', 'arcade-games' ), ) ); Kirki::add_section( 'arcade_games_font_style_section', array( 'title' => esc_html__( 'Typography Option', 'arcade-games' ), 'priority' => 2, 'capability' => 'edit_theme_options', ) ); Kirki::add_field( 'theme_config_id', [ 'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'arcade-games' ) . '', 'default' => '' . __( 'GO TO PREMIUM', 'arcade-games' ) . '', 'type' => 'custom', 'section' => 'arcade_games_font_style_section', 'description' => '
' . __( '

1. One Click Demo Importer

2. More Font Family Options

3. Color Pallete Setup

4. Section Reordering Facility

5. For More Options kindly Go For Premium Version.

6. 10% OFF Use Code "SUMMER10"

', 'arcade-games' ) . '
', ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_all_headings_typography', 'section' => 'arcade_games_font_style_section', 'default' => '

' . __( 'Heading Of All Sections', 'arcade-games' ) . '

', 'priority' => 10, ] ); Kirki::add_field( 'global', array( 'type' => 'typography', 'settings' => 'arcade_games_all_headings_typography', 'label' => esc_html__( 'Heading Typography', 'arcade-games' ), 'description' => esc_html__( 'Select the typography options for your heading.', 'arcade-games' ), 'section' => 'arcade_games_font_style_section', 'priority' => 10, 'default' => array( 'font-family' => '', 'variant' => '', ), 'output' => array( array( 'element' => array( 'h1','h2','h3','h4','h5','h6', ), ), ), ) ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_body_content_typography', 'section' => 'arcade_games_font_style_section', 'default' => '

' . __( 'Body Content', 'arcade-games' ) . '

', 'priority' => 10, ] ); Kirki::add_field( 'global', array( 'type' => 'typography', 'settings' => 'arcade_games_body_content_typography', 'label' => esc_html__( 'Content Typography', 'arcade-games' ), 'description' => esc_html__( 'Select the typography options for your content.', 'arcade-games' ), 'section' => 'arcade_games_font_style_section', 'priority' => 10, 'default' => array( 'font-family' => '', 'variant' => '', ), 'output' => array( array( 'element' => array( 'body', ), ), ), ) ); // PANEL Kirki::add_panel( 'arcade_games_panel_id_5', array( 'priority' => 10, 'title' => esc_html__( 'Theme Animations', 'arcade-games' ), ) ); // ANIMATION SECTION Kirki::add_section( 'arcade_games_section_animation', array( 'title' => esc_html__( 'Animations', 'arcade-games' ), 'priority' => 2, ) ); Kirki::add_field( 'theme_config_id', [ 'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'arcade-games' ) . '', 'default' => '' . __( 'GO TO PREMIUM', 'arcade-games' ) . '', 'type' => 'custom', 'section' => 'arcade_games_section_animation', 'description' => '
' . __( '

1. One Click Demo Importer

2. More Font Family Options

3. Color Pallete Setup

4. Section Reordering Facility

5. For More Options kindly Go For Premium Version.

6. 10% OFF Use Code "SUMMER10"

', 'arcade-games' ) . '
', ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'switch', 'settings' => 'arcade_games_animation_enabled', 'label' => esc_html__( 'Turn To Show Animation', 'arcade-games' ), 'section' => 'arcade_games_section_animation', 'default' => true, 'priority' => 10, 'choices' => [ 'on' => esc_html__( 'Enable', 'arcade-games' ), 'off' => esc_html__( 'Disable', 'arcade-games' ), ], ] ); // PANEL Kirki::add_panel( 'arcade_games_panel_id_2', array( 'priority' => 10, 'title' => esc_html__( 'Theme Dark Mode', 'arcade-games' ), ) ); // DARK MODE SECTION Kirki::add_section( 'arcade_games_section_dark_mode', array( 'title' => esc_html__( 'Dark Mode', 'arcade-games' ), 'priority' => 3, ) ); Kirki::add_field( 'theme_config_id', [ 'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'arcade-games' ) . '', 'default' => '' . __( 'GO TO PREMIUM', 'arcade-games' ) . '', 'type' => 'custom', 'section' => 'arcade_games_section_dark_mode', 'description' => '
' . __( '

1. One Click Demo Importer

2. More Font Family Options

3. Color Pallete Setup

4. Section Reordering Facility

5. For More Options kindly Go For Premium Version.

6. 10% OFF Use Code "SUMMER10"

', 'arcade-games' ) . '
', ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_dark_colors', 'section' => 'arcade_games_section_dark_mode', 'default' => '

' . __( 'Dark Appearance', 'arcade-games' ) . '

', 'priority' => 10, ]); Kirki::add_field( 'theme_config_id', [ 'type' => 'switch', 'settings' => 'arcade_games_is_dark_mode_enabled', 'label' => esc_html__( 'Turn To Dark Mode', 'arcade-games' ), 'section' => 'arcade_games_section_dark_mode', 'default' => false, 'priority' => 10, 'choices' => [ 'on' => esc_html__( 'Enable', 'arcade-games' ), 'off' => esc_html__( 'Disable', 'arcade-games' ), ], ] ); // PANEL Kirki::add_panel( 'arcade_games_panel_id_3', array( 'priority' => 10, 'title' => esc_html__( '404 Settings / No Result', 'arcade-games' ), ) ); // 404 SECTION Kirki::add_section( 'arcade_games_section_404', array( 'panel' => 'arcade_games_panel_id_3', 'title' => esc_html__( '404 Settings', 'arcade-games' ), 'priority' => 3, ) ); Kirki::add_field( 'theme_config_id', [ 'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'arcade-games' ) . '', 'default' => '' . __( 'GO TO PREMIUM', 'arcade-games' ) . '', 'type' => 'custom', 'section' => 'arcade_games_section_404', 'description' => '
' . __( '

1. One Click Demo Importer

2. More Font Family Options

3. Color Pallete Setup

4. Section Reordering Facility

5. For More Options kindly Go For Premium Version.

6. 10% OFF Use Code "SUMMER10"

', 'arcade-games' ) . '
', ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_404_heading', 'section' => 'arcade_games_section_404', 'default' => '

' . __( '404 Heading', 'arcade-games' ) . '

', 'priority' => 10, ]); Kirki::add_field( 'theme_config_id', [ 'type' => 'text', 'settings' => 'arcade_games_404_page_title', 'section' => 'arcade_games_section_404', 'default' => esc_html__('404 Not Found', 'arcade-games'), 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_404_text', 'section' => 'arcade_games_section_404', 'default' => '

' . __( '404 Content', 'arcade-games' ) . '

', 'priority' => 10, ]); Kirki::add_field( 'theme_config_id', [ 'type' => 'text', 'settings' => 'arcade_games_404_page_content', 'section' => 'arcade_games_section_404', 'default' => esc_html__('Sorry, no posts matched your criteria.', 'arcade-games'), 'priority' => 10, ] ); // NO Result Kirki::add_section( 'arcade_games_no_result', array( 'panel' => 'arcade_games_panel_id_3', 'title' => esc_html__( 'No Result Page Settings', 'arcade-games' ), 'priority' => 3, ) ); Kirki::add_field( 'theme_config_id', [ 'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'arcade-games' ) . '', 'default' => '' . __( 'GO TO PREMIUM', 'arcade-games' ) . '', 'type' => 'custom', 'section' => 'arcade_games_no_result', 'description' => '
' . __( '

1. One Click Demo Importer

2. More Font Family Options

3. Color Pallete Setup

4. Section Reordering Facility

5. For More Options kindly Go For Premium Version.

6. 10% OFF Use Code "SUMMER10"

', 'arcade-games' ) . '
', ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_not_found_heading', 'section' => 'arcade_games_no_result', 'default' => '

' . __( 'No Search Result Heading', 'arcade-games' ) . '

', 'priority' => 10, ]); Kirki::add_field( 'theme_config_id', [ 'type' => 'text', 'settings' => 'arcade_games_no_results_page_title', 'section' => 'arcade_games_no_result', 'default' => esc_html__('404 Not Found', 'arcade-games'), 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_not_found_text', 'section' => 'arcade_games_no_result', 'default' => '

' . __( 'No Search Result Content', 'arcade-games' ) . '

', 'priority' => 10, ]); Kirki::add_field( 'theme_config_id', [ 'type' => 'text', 'settings' => 'arcade_games_no_results_page_content', 'section' => 'arcade_games_no_result', 'default' => esc_html__('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'arcade-games'), 'priority' => 10, ] ); // PANEL Kirki::add_panel( 'arcade_games_panel_id', array( 'priority' => 10, 'title' => esc_html__( 'Theme Options', 'arcade-games' ), ) ); //COLOR SECTION Kirki::add_section( 'arcade_games_section_color', array( 'title' => esc_html__( 'Global Color', 'arcade-games' ), 'panel' => 'arcade_games_panel_id', 'priority' => 160, ) ); Kirki::add_field( 'theme_config_id', [ 'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'arcade-games' ) . '', 'default' => '' . __( 'GO TO PREMIUM', 'arcade-games' ) . '', 'type' => 'custom', 'section' => 'arcade_games_section_color', 'description' => '
' . __( '

1. One Click Demo Importer

2. More Font Family Options

3. Color Pallete Setup

4. Section Reordering Facility

5. For More Options kindly Go For Premium Version.

6. 10% OFF Use Code "SUMMER10"

', 'arcade-games' ) . '
', ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_global_colors', 'section' => 'arcade_games_section_color', 'default' => '

' . __( 'Here you can change your theme color on one click.', 'arcade-games' ) . '

', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'color', 'settings' => 'arcade_games_first_color', 'label' => __( 'choose your First Color', 'arcade-games' ), 'section' => 'arcade_games_section_color', 'default' => '#31BBFA', ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'color', 'settings' => 'arcade_games_second_color', 'label' => __( 'Choose Your Second Color', 'arcade-games' ), 'section' => 'arcade_games_section_color', 'default' => '#514DE7', ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'color', 'settings' => 'arcade_games_third_color', 'label' => __( 'Choose Your Third Color', 'arcade-games' ), 'section' => 'arcade_games_section_color', 'default' => '#240A2B', ] ); // Additional Settings Kirki::add_section( 'arcade_games_additional_settings', array( 'title' => esc_html__( 'Additional Settings', 'arcade-games' ), 'panel' => 'arcade_games_panel_id', 'priority' => 160, ) ); Kirki::add_field( 'theme_config_id', [ 'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'arcade-games' ) . '', 'default' => '' . __( 'GO TO PREMIUM', 'arcade-games' ) . '', 'type' => 'custom', 'section' => 'arcade_games_additional_settings', 'description' => '
' . __( '

1. One Click Demo Importer

2. More Font Family Options

3. Color Pallete Setup

4. Section Reordering Facility

5. For More Options kindly Go For Premium Version.

6. 10% OFF Use Code "SUMMER10"

', 'arcade-games' ) . '
', ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'toggle', 'settings' => 'arcade_games_scroll_enable_setting', 'label' => esc_html__( 'Here you can enable or disable your scroller.', 'arcade-games' ), 'section' => 'arcade_games_additional_settings', 'default' => '1', 'priority' => 10, ] ); new \Kirki\Field\Radio_Buttonset( [ 'settings' => 'arcade_games_scroll_top_position', 'label' => esc_html__( 'Alignment for Scroll To Top', 'arcade-games' ), 'section' => 'arcade_games_additional_settings', 'default' => 'Right', 'priority' => 10, 'choices' => [ 'Left' => esc_html__( 'Left', 'arcade-games' ), 'Center' => esc_html__( 'Center', 'arcade-games' ), 'Right' => esc_html__( 'Right', 'arcade-games' ), ], ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'dashicons', 'settings' => 'arcade_games_scroll_top_icon', 'label' => esc_html__( 'Select Appropriate Scroll Top Icon', 'arcade-games' ), 'section' => 'arcade_games_additional_settings', 'default' => 'dashicons dashicons-arrow-up-alt', 'priority' => 10, ] ); new \Kirki\Field\Select( [ 'settings' => 'menu_text_transform_arcade_games', 'label' => esc_html__( 'Menus Text Transform', 'arcade-games' ), 'section' => 'arcade_games_additional_settings', 'default' => 'CAPITALISE', 'placeholder' => esc_html__( 'Choose an option', 'arcade-games' ), 'choices' => [ 'CAPITALISE' => esc_html__( 'CAPITALISE', 'arcade-games' ), 'UPPERCASE' => esc_html__( 'UPPERCASE', 'arcade-games' ), 'LOWERCASE' => esc_html__( 'LOWERCASE', 'arcade-games' ), ], ] ); new \Kirki\Field\Select( [ 'settings' => 'arcade_games_menu_zoom', 'label' => esc_html__( 'Menu Transition', 'arcade-games' ), 'section' => 'arcade_games_additional_settings', 'default' => 'None', 'placeholder' => esc_html__( 'Choose an option', 'arcade-games' ), 'choices' => [ 'None' => __('None','arcade-games'), 'Zoominn' => __('Zoom Inn','arcade-games'), ], ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'slider', 'settings' => 'arcade_games_container_width', 'label' => esc_html__( 'Theme Container Width', 'arcade-games' ), 'section' => 'arcade_games_additional_settings', 'default' => 100, 'choices' => [ 'min' => 50, 'max' => 100, 'step' => 1, ], ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'toggle', 'settings' => 'arcade_games_sticky_header', 'label' => esc_html__( 'Here you can enable or disable your Sticky Header.', 'arcade-games' ), 'section' => 'arcade_games_additional_settings', 'default' => false, 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'toggle', 'settings' => 'arcade_games_site_loader', 'label' => esc_html__( 'Here you can enable or disable your Site Loader.', 'arcade-games' ), 'section' => 'arcade_games_additional_settings', 'default' => false, 'priority' => 10, ] ); new \Kirki\Field\Select( [ 'settings' => 'arcade_games_preloader_type', 'label' => esc_html__( 'Preloader Type', 'arcade-games' ), 'section' => 'arcade_games_additional_settings', 'default' => 'four-way-loader', 'placeholder' => esc_html__( 'Choose an option', 'arcade-games' ), 'choices' => [ 'four-way-loader' => __('Type 1','arcade-games'), 'cube-loader' => __('Type 2','arcade-games'), ], ] ); new \Kirki\Field\Select( [ 'settings' => 'arcade_games_page_layout', 'label' => esc_html__( 'Page Layout Setting', 'arcade-games' ), 'section' => 'arcade_games_additional_settings', 'default' => 'Right Sidebar', 'placeholder' => esc_html__( 'Choose an option', 'arcade-games' ), 'choices' => [ 'Left Sidebar' => __('Left Sidebar','arcade-games'), 'Right Sidebar' => __('Right Sidebar','arcade-games'), 'One Column' => __('One Column','arcade-games') ], ] ); if ( class_exists("woocommerce")){ // Woocommerce Settings Kirki::add_section( 'arcade_games_woocommerce_settings', array( 'title' => esc_html__( 'Woocommerce Settings', 'arcade-games' ), 'panel' => 'arcade_games_panel_id', 'priority' => 160, ) ); Kirki::add_field( 'theme_config_id', [ 'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'arcade-games' ) . '', 'default' => '' . __( 'GO TO PREMIUM', 'arcade-games' ) . '', 'type' => 'custom', 'section' => 'arcade_games_woocommerce_settings', 'description' => '
' . __( '

1. One Click Demo Importer

2. More Font Family Options

3. Color Pallete Setup

4. Section Reordering Facility

5. For More Options kindly Go For Premium Version.

6. 10% OFF Use Code "SUMMER10"

', 'arcade-games' ) . '
', ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'toggle', 'settings' => 'arcade_games_shop_sidebar', 'label' => esc_html__( 'Here you can enable or disable shop page sidebar.', 'arcade-games' ), 'section' => 'arcade_games_woocommerce_settings', 'default' => '1', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'toggle', 'settings' => 'arcade_games_product_sidebar', 'label' => esc_html__( 'Here you can enable or disable product page sidebar.', 'arcade-games' ), 'section' => 'arcade_games_woocommerce_settings', 'default' => '1', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'toggle', 'settings' => 'arcade_games_related_product_setting', 'label' => esc_html__( 'Here you can enable or disable your related products.', 'arcade-games' ), 'section' => 'arcade_games_woocommerce_settings', 'default' => true, 'priority' => 10, ] ); new \Kirki\Field\Number( [ 'settings' => 'arcade_games_per_columns', 'label' => esc_html__( 'Product Per Row', 'arcade-games' ), 'section' => 'arcade_games_woocommerce_settings', 'default' => 3, 'choices' => [ 'min' => 1, 'max' => 4, 'step' => 1, ], ] ); new \Kirki\Field\Number( [ 'settings' => 'arcade_games_product_per_page', 'label' => esc_html__( 'Product Per Page', 'arcade-games' ), 'section' => 'arcade_games_woocommerce_settings', 'default' => 9, 'choices' => [ 'min' => 1, 'max' => 15, 'step' => 1, ], ] ); new \Kirki\Field\Number( [ 'settings' => 'custom_related_products_number_per_row', 'label' => esc_html__( 'Related Product Per Column', 'arcade-games' ), 'section' => 'arcade_games_woocommerce_settings', 'default' => 3, 'choices' => [ 'min' => 1, 'max' => 4, 'step' => 1, ], ] ); new \Kirki\Field\Number( [ 'settings' => 'custom_related_products_number', 'label' => esc_html__( 'Related Product Per Page', 'arcade-games' ), 'section' => 'arcade_games_woocommerce_settings', 'default' => 3, 'choices' => [ 'min' => 1, 'max' => 10, 'step' => 1, ], ] ); new \Kirki\Field\Select( [ 'settings' => 'arcade_games_shop_page_layout', 'label' => esc_html__( 'Shop Page Layout Setting', 'arcade-games' ), 'section' => 'arcade_games_woocommerce_settings', 'default' => 'Right Sidebar', 'placeholder' => esc_html__( 'Choose an option', 'arcade-games' ), 'choices' => [ 'Left Sidebar' => __('Left Sidebar','arcade-games'), 'Right Sidebar' => __('Right Sidebar','arcade-games') ], ] ); new \Kirki\Field\Select( [ 'settings' => 'arcade_games_product_page_layout', 'label' => esc_html__( 'Product Page Layout Setting', 'arcade-games' ), 'section' => 'arcade_games_woocommerce_settings', 'default' => 'Right Sidebar', 'placeholder' => esc_html__( 'Choose an option', 'arcade-games' ), 'choices' => [ 'Left Sidebar' => __('Left Sidebar','arcade-games'), 'Right Sidebar' => __('Right Sidebar','arcade-games') ], ] ); new \Kirki\Field\Radio_Buttonset( [ 'settings' => 'arcade_games_woocommerce_pagination_position', 'label' => esc_html__( 'Woocommerce Pagination Alignment', 'arcade-games' ), 'section' => 'arcade_games_woocommerce_settings', 'default' => 'Center', 'priority' => 10, 'choices' => [ 'Left' => esc_html__( 'Left', 'arcade-games' ), 'Center' => esc_html__( 'Center', 'arcade-games' ), 'Right' => esc_html__( 'Right', 'arcade-games' ), ], ] ); } // POST SECTION Kirki::add_section( 'arcade_games_section_post', array( 'title' => esc_html__( 'Post Settings', 'arcade-games' ), 'panel' => 'arcade_games_panel_id', 'priority' => 160, ) ); Kirki::add_field( 'theme_config_id', [ 'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'arcade-games' ) . '', 'default' => '' . __( 'GO TO PREMIUM', 'arcade-games' ) . '', 'type' => 'custom', 'section' => 'arcade_games_section_post', 'description' => '
' . __( '

1. One Click Demo Importer

2. More Font Family Options

3. Color Pallete Setup

4. Section Reordering Facility

5. For More Options kindly Go For Premium Version.

6. 10% OFF Use Code "SUMMER10"

', 'arcade-games' ) . '
', ] ); new \Kirki\Field\Sortable( [ 'settings' => 'arcade_games_archive_element_sortable', 'label' => __( 'Archive Post Page Element Reordering', 'arcade-games' ), 'description' => esc_html__( 'This setting is not favorable with post format.', 'arcade-games' ), 'section' => 'arcade_games_section_post', 'default' => [ 'option1', 'option2', 'option3', 'option4', 'option5' ], 'choices' => [ 'option1' => esc_html__( 'Post Image', 'arcade-games' ), 'option2' => esc_html__( 'Post Meta', 'arcade-games' ), 'option3' => esc_html__( 'Post Title', 'arcade-games' ), 'option4' => esc_html__( 'Post Content', 'arcade-games' ), 'option5' => esc_html__( 'Post Button', 'arcade-games' ), ], ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'slider', 'settings' => 'arcade_games_post_excerpt_number_1', 'label' => esc_html__( 'Post Content Range', 'arcade-games' ), 'section' => 'arcade_games_section_post', 'default' => 15, 'choices' => [ 'min' => 10, 'max' => 100, 'step' => 1, ], ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'toggle', 'settings' => 'arcade_games_pagination_setting', 'label' => esc_html__( 'Here you can enable or disable your Pagination.', 'arcade-games' ), 'section' => 'arcade_games_section_post', 'default' => true, 'priority' => 10, ] ); new \Kirki\Field\Select( [ 'settings' => 'arcade_games_archive_sidebar_layout', 'label' => esc_html__( 'Archive Post Sidebar Layout Setting', 'arcade-games' ), 'section' => 'arcade_games_section_post', 'default' => 'Right Sidebar', 'placeholder' => esc_html__( 'Choose an option', 'arcade-games' ), 'choices' => [ 'Left Sidebar' => __('Left Sidebar','arcade-games'), 'Right Sidebar' => __('Right Sidebar','arcade-games'), 'Three Column' => __('Three Column','arcade-games'), 'Four Column' => __('Four Column','arcade-games'), 'Grid Layout Without Sidebar' => __('Grid Layout Without Sidebar','arcade-games'), 'Grid Layout With Right Sidebar' => __('Grid Layout With Right Sidebar','arcade-games'), 'Grid Layout With Left Sidebar' => __('Grid Layout With Left Sidebar','arcade-games') ], ] ); new \Kirki\Field\Select( [ 'settings' => 'arcade_games_single_post_sidebar_layout', 'label' => esc_html__( 'Single Post Sidebar Layout Setting', 'arcade-games' ), 'section' => 'arcade_games_section_post', 'default' => 'Right Sidebar', 'placeholder' => esc_html__( 'Choose an option', 'arcade-games' ), 'choices' => [ 'Left Sidebar' => __('Left Sidebar','arcade-games'), 'Right Sidebar' => __('Right Sidebar','arcade-games'), ], ] ); new \Kirki\Field\Select( [ 'settings' => 'arcade_games_search_sidebar_layout', 'label' => esc_html__( 'Search Page Sidebar Layout Setting', 'arcade-games' ), 'section' => 'arcade_games_section_post', 'default' => 'Right Sidebar', 'placeholder' => esc_html__( 'Choose an option', 'arcade-games' ), 'choices' => [ 'Left Sidebar' => __('Left Sidebar','arcade-games'), 'Right Sidebar' => __('Right Sidebar','arcade-games'), 'Three Column' => __('Three Column','arcade-games'), 'Four Column' => __('Four Column','arcade-games'), 'Grid Layout Without Sidebar' => __('Grid Layout Without Sidebar','arcade-games'), 'Grid Layout With Right Sidebar' => __('Grid Layout With Right Sidebar','arcade-games'), 'Grid Layout With Left Sidebar' => __('Grid Layout With Left Sidebar','arcade-games') ], ] ); // Breadcrumb Kirki::add_section( 'arcade_games_bradcrumb', array( 'title' => esc_html__( 'Breadcrumb Settings', 'arcade-games' ), 'panel' => 'arcade_games_panel_id', 'priority' => 160, ) ); Kirki::add_field( 'theme_config_id', [ 'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'arcade-games' ) . '', 'default' => '' . __( 'GO TO PREMIUM', 'arcade-games' ) . '', 'type' => 'custom', 'section' => 'arcade_games_bradcrumb', 'description' => '
' . __( '

1. One Click Demo Importer

2. More Font Family Options

3. Color Pallete Setup

4. Section Reordering Facility

5. For More Options kindly Go For Premium Version.

6. 10% OFF Use Code "SUMMER10"

', 'arcade-games' ) . '
', ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_enable_breadcrumb_heading', 'section' => 'arcade_games_bradcrumb', 'default' => '

' . __( 'Enable / Disable Single Page Breadcrumb', 'arcade-games' ) . '

', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'switch', 'settings' => 'arcade_games_breadcrumb_enable', 'label' => esc_html__( 'Breadcrumb Enable / Disable', 'arcade-games' ), 'section' => 'arcade_games_bradcrumb', 'default' => true, 'priority' => 10, 'choices' => [ 'on' => esc_html__( 'Enable', 'arcade-games' ), 'off' => esc_html__( 'Disable', 'arcade-games' ), ], ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'text', 'default' => '/', 'settings' => 'arcade_games_breadcrumb_separator' , 'label' => esc_html__( 'Breadcrumb Separator', 'arcade-games' ), 'section' => 'arcade_games_bradcrumb', ] ); // HEADER SECTION Kirki::add_section( 'arcade_games_section_header', array( 'title' => esc_html__( 'Header Settings', 'arcade-games' ), 'panel' => 'arcade_games_panel_id', 'priority' => 160, ) ); Kirki::add_field( 'theme_config_id', [ 'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'arcade-games' ) . '', 'default' => '' . __( 'GO TO PREMIUM', 'arcade-games' ) . '', 'type' => 'custom', 'section' => 'arcade_games_section_header', 'description' => '
' . __( '

1. One Click Demo Importer

2. More Font Family Options

3. Color Pallete Setup

4. Section Reordering Facility

5. For More Options kindly Go For Premium Version.

6. 10% OFF Use Code "SUMMER10"

', 'arcade-games' ) . '
', ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_header_announcement_text_heading', 'section' => 'arcade_games_section_header', 'default' => '

' . __( 'Announcement Text', 'arcade-games' ) . '

', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'text', 'settings' => 'arcade_games_header_announcement_text', 'section' => 'arcade_games_section_header', 'default' => '', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_header_sign_button_heading', 'section' => 'arcade_games_section_header', 'default' => '

' . __( 'Header Button', 'arcade-games' ) . '

', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'text', 'label' => esc_html__( 'Sign Up Text', 'arcade-games' ), 'settings' => 'arcade_games_sign_up_text', 'section' => 'arcade_games_section_header', 'default' => '', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'url', 'label' => esc_html__( 'Sign Up URL', 'arcade-games' ), 'settings' => 'arcade_games_sign_up_url', 'section' => 'arcade_games_section_header', 'default' => '', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'text', 'label' => esc_html__( 'Sign In Text', 'arcade-games' ), 'settings' => 'arcade_games_sign_in_text', 'section' => 'arcade_games_section_header', 'default' => '', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'url', 'label' => esc_html__( 'Sign In URL', 'arcade-games' ), 'settings' => 'arcade_games_sign_in_url', 'section' => 'arcade_games_section_header', 'default' => '', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_enable_socail_link', 'section' => 'arcade_games_section_header', 'default' => '

' . __( 'Social Media Link', 'arcade-games' ) . '

', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'repeater', 'section' => 'arcade_games_section_header', 'priority' => 10, 'row_label' => [ 'type' => 'field', 'value' => esc_html__( 'Social Icon', 'arcade-games' ), 'field' => 'link_text', ], 'button_label' => esc_html__('Add New Social Icon', 'arcade-games' ), 'settings' => 'arcade_games_social_links_settings', 'default' => '', 'fields' => [ 'link_text' => [ 'type' => 'text', 'label' => esc_html__( 'Icon', 'arcade-games' ), 'description' => esc_html__( 'Add the fontawesome class ex: "fab fa-facebook-f".', 'arcade-games' ), 'default' => '', ], 'link_url' => [ 'type' => 'url', 'label' => esc_html__( 'Social Link', 'arcade-games' ), 'description' => esc_html__( 'Add the social icon url here.', 'arcade-games' ), 'default' => '', ], ], 'choices' => [ 'limit' => 5 ], ] ); // SLIDER SECTION Kirki::add_section( 'arcade_games_blog_slide_section', array( 'title' => esc_html__( ' Slider Settings', 'arcade-games' ), 'panel' => 'arcade_games_panel_id', 'priority' => 160, ) ); Kirki::add_field( 'theme_config_id', [ 'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'arcade-games' ) . '', 'default' => '' . __( 'GO TO PREMIUM', 'arcade-games' ) . '', 'type' => 'custom', 'section' => 'arcade_games_blog_slide_section', 'description' => '
' . __( '

1. One Click Demo Importer

2. More Font Family Options

3. Color Pallete Setup

4. Section Reordering Facility

5. For More Options kindly Go For Premium Version.

6. 10% OFF Use Code "SUMMER10"

', 'arcade-games' ) . '
', ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_enable_heading', 'section' => 'arcade_games_blog_slide_section', 'default' => '

' . __( 'Enable / Disable Slider', 'arcade-games' ) . '

', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'switch', 'settings' => 'arcade_games_blog_box_enable', 'label' => esc_html__( 'Section Enable / Disable', 'arcade-games' ), 'section' => 'arcade_games_blog_slide_section', 'default' => '1', 'priority' => 10, 'choices' => [ 'on' => esc_html__( 'Enable', 'arcade-games' ), 'off' => esc_html__( 'Disable', 'arcade-games' ), ], ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'switch', 'settings' => 'arcade_games_title_unable_disable', 'label' => esc_html__( 'Slide Title Enable / Disable', 'arcade-games' ), 'section' => 'arcade_games_blog_slide_section', 'default' => true, 'priority' => 10, 'choices' => [ 'on' => esc_html__( 'Enable', 'arcade-games' ), 'off' => esc_html__( 'Disable', 'arcade-games' ), ], ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'switch', 'settings' => 'arcade_games_text_unable_disable', 'label' => esc_html__( 'Slide Text Enable / Disable', 'arcade-games' ), 'section' => 'arcade_games_blog_slide_section', 'default' => true, 'priority' => 10, 'choices' => [ 'on' => esc_html__( 'Enable', 'arcade-games' ), 'off' => esc_html__( 'Disable', 'arcade-games' ), ], ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'switch', 'settings' => 'arcade_games_button_unable_disable', 'label' => esc_html__( 'Slide Button Enable / Disable', 'arcade-games' ), 'section' => 'arcade_games_blog_slide_section', 'default' => true, 'priority' => 10, 'choices' => [ 'on' => esc_html__( 'Enable', 'arcade-games' ), 'off' => esc_html__( 'Disable', 'arcade-games' ), ], ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_slider_heading', 'section' => 'arcade_games_blog_slide_section', 'default' => '

' . __( 'Slider', 'arcade-games' ) . '

', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'number', 'settings' => 'arcade_games_blog_slide_number', 'label' => esc_html__( 'Number of slides to show', 'arcade-games' ), 'section' => 'arcade_games_blog_slide_section', 'default' => 0, 'choices' => [ 'min' => 1, 'max' => 5, 'step' => 1, ], ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'select', 'settings' => 'arcade_games_blog_slide_category', 'label' => esc_html__( 'Select the category to show slider ( Image Dimension 1600 x 600 )', 'arcade-games' ), 'section' => 'arcade_games_blog_slide_section', 'default' => '', 'placeholder' => esc_html__( 'Select an category...', 'arcade-games' ), 'priority' => 10, 'choices' => arcade_games_get_categories_select(), ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_slider_short_heading_12', 'section' => 'arcade_games_blog_slide_section', 'default' => '

' . __( 'Number of Text', 'arcade-games' ) . '

', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'slider', 'settings' => 'arcade_games_post_excerpt_number', 'label' => esc_html__( 'Number of Slide Text To Show ', 'arcade-games' ), 'section' => 'arcade_games_blog_slide_section', 'default' => 22, 'choices' => [ 'min' => 10, 'max' => 50, 'step' => 1, ], ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'text', 'settings' => 'arcade_games_slider_short_heading', 'label' => esc_html__( 'Slider Short Heading', 'arcade-games' ), 'section' => 'arcade_games_blog_slide_section', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'text', 'settings' => 'arcade_games_slider_2_button_text', 'label' => esc_html__( 'Slider Button Text 2', 'arcade-games' ), 'section' => 'arcade_games_blog_slide_section', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'url', 'settings' => 'arcade_games_slider_2_button_url', 'label' => esc_html__( 'Slider Button URL 2', 'arcade-games' ), 'section' => 'arcade_games_blog_slide_section', 'priority' => 10, ] ); new \Kirki\Field\Select( [ 'settings' => 'arcade_games_slider_content_alignment', 'label' => esc_html__( 'Slider Content Alignment', 'arcade-games' ), 'section' => 'arcade_games_blog_slide_section', 'default' => 'LEFT-ALIGN', 'placeholder' => esc_html__( 'Choose an option', 'arcade-games' ), 'choices' => [ 'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'arcade-games' ), 'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'arcade-games' ), 'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'arcade-games' ), ], ] ); new \Kirki\Field\Select( [ 'settings' => 'arcade_games_slider_opacity_color', 'label' => esc_html__( 'Slider Opacity Option', 'arcade-games' ), 'section' => 'arcade_games_blog_slide_section', 'default' => '0.9', 'placeholder' => esc_html__( 'Choose an option', 'arcade-games' ), 'choices' => [ '0' => esc_html__( '0', 'arcade-games' ), '0.1' => esc_html__( '0.1', 'arcade-games' ), '0.2' => esc_html__( '0.2', 'arcade-games' ), '0.3' => esc_html__( '0.3', 'arcade-games' ), '0.4' => esc_html__( '0.4', 'arcade-games' ), '0.5' => esc_html__( '0.5', 'arcade-games' ), '0.6' => esc_html__( '0.6', 'arcade-games' ), '0.7' => esc_html__( '0.7', 'arcade-games' ), '0.8' => esc_html__( '0.8', 'arcade-games' ), '0.9' => esc_html__( '0.9', 'arcade-games' ), 'unset' => esc_html__( 'Unset', 'arcade-games' ), ], ] ); // OUR PRODUCTS SECTION Kirki::add_section( 'arcade_games_products_section', array( 'title' => esc_html__( 'Top Games Settings', 'arcade-games' ), 'panel' => 'arcade_games_panel_id', 'priority' => 160, ) ); Kirki::add_field( 'theme_config_id', [ 'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'arcade-games' ) . '', 'default' => '' . __( 'GO TO PREMIUM', 'arcade-games' ) . '', 'type' => 'custom', 'section' => 'arcade_games_products_section', 'description' => '
' . __( '

1. One Click Demo Importer

2. More Font Family Options

3. Color Pallete Setup

4. Section Reordering Facility

5. For More Options kindly Go For Premium Version.

6. 10% OFF Use Code "SUMMER10"

', 'arcade-games' ) . '
', ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_products_section_enable_heading', 'section' => 'arcade_games_products_section', 'default' => '

' . __( 'Enable / Disable Products Section', 'arcade-games' ) . '

', 'priority' => 1, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'switch', 'settings' => 'arcade_games_products_section_enable', 'label' => esc_html__( 'Section Enable / Disable', 'arcade-games' ), 'section' => 'arcade_games_products_section', 'default' => '1', 'priority' => 2, 'choices' => [ 'on' => esc_html__( 'Enable', 'arcade-games' ), 'off' => esc_html__( 'Disable', 'arcade-games' ), ], ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_products_heading', 'section' => 'arcade_games_products_section', 'default' => '

' . __( 'Top Games Headings', 'arcade-games' ) . '

', 'priority' => 3, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'text', 'settings' => 'arcade_games_products_short_heading', 'label' => esc_html__( 'Short Heading', 'arcade-games' ), 'section' => 'arcade_games_products_section', 'priority' => 5, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'text', 'settings' => 'arcade_games_products_main_heading', 'label' => esc_html__( 'Main Heading', 'arcade-games' ), 'section' => 'arcade_games_products_section', 'priority' => 5, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_our_product_heading', 'section' => 'arcade_games_products_section', 'default' => '

' . __( 'Top Games', 'arcade-games' ) . '

', 'priority' => 7, ] ); // FOOTER SECTION Kirki::add_section( 'arcade_games_footer_section', array( 'title' => esc_html__( 'Footer Settings', 'arcade-games' ), 'panel' => 'arcade_games_panel_id', 'priority' => 160, ) ); Kirki::add_field( 'theme_config_id', [ 'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'arcade-games' ) . '', 'default' => '' . __( 'GO TO PREMIUM', 'arcade-games' ) . '', 'type' => 'custom', 'section' => 'arcade_games_footer_section', 'description' => '
' . __( '

1. One Click Demo Importer

2. More Font Family Options

3. Color Pallete Setup

4. Section Reordering Facility

5. For More Options kindly Go For Premium Version.

6. 10% OFF Use Code "SUMMER10"

', 'arcade-games' ) . '
', ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_footer_text_heading', 'section' => 'arcade_games_footer_section', 'default' => '

' . __( 'Footer Copyright Text', 'arcade-games' ) . '

', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'text', 'settings' => 'arcade_games_footer_text', 'section' => 'arcade_games_footer_section', 'default' => '', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_footer_text_heading_2', 'section' => 'arcade_games_footer_section', 'default' => '

' . __( 'Footer Copyright Alignment', 'arcade-games' ) . '

', 'priority' => 10, ] ); new \Kirki\Field\Select( [ 'settings' => 'arcade_games_copyright_text_alignment', 'label' => esc_html__( 'Copyright text Alignment', 'arcade-games' ), 'section' => 'arcade_games_footer_section', 'default' => 'LEFT-ALIGN', 'placeholder' => esc_html__( 'Choose an option', 'arcade-games' ), 'choices' => [ 'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'arcade-games' ), 'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'arcade-games' ), 'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'arcade-games' ), ], ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_footer_text_heading_1', 'section' => 'arcade_games_footer_section', 'default' => '

' . __( 'Footer Copyright Background Color', 'arcade-games' ) . '

', 'priority' => 10, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'color', 'settings' => 'arcade_games_copyright_bg', 'label' => __( 'Choose Your Copyright Background Color', 'arcade-games' ), 'section' => 'arcade_games_footer_section', 'default' => '#000000', ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'custom', 'settings' => 'arcade_games_enable_footer_socail_link', 'section' => 'arcade_games_footer_section', 'default' => '

' . __( 'Social Media Link', 'arcade-games' ) . '

', 'priority' => 11, ] ); Kirki::add_field( 'theme_config_id', [ 'type' => 'repeater', 'section' => 'arcade_games_footer_section', 'priority' => 11, 'row_label' => [ 'type' => 'field', 'value' => esc_html__( 'Footer Social Icon', 'arcade-games' ), 'field' => 'link_text', ], 'button_label' => esc_html__('Add New Social Icon', 'arcade-games' ), 'settings' => 'arcade_games_footer_social_links_settings', 'default' => '', 'fields' => [ 'link_text' => [ 'type' => 'text', 'label' => esc_html__( 'Icon', 'arcade-games' ), 'description' => esc_html__( 'Add the fontawesome class ex: "fab fa-facebook-f".', 'arcade-games' ), 'default' => '', ], 'link_url' => [ 'type' => 'url', 'label' => esc_html__( 'Social Link', 'arcade-games' ), 'description' => esc_html__( 'Add the social icon url here.', 'arcade-games' ), 'default' => '', ], ], 'choices' => [ 'limit' => 5 ], ] ); } add_action( 'customize_register', 'arcade_games_customizer_settings' ); function arcade_games_customizer_settings( $wp_customize ) { //Latest Game Section $args = array( 'type' => 'product', 'child_of' => 0, 'parent' => '', 'orderby' => 'term_group', 'order' => 'ASC', 'hide_empty' => false, 'hierarchical' => 1, 'number' => '', 'taxonomy' => 'product_cat', 'pad_counts' => false ); $categories = get_categories($args); $cat_posts = array(); $m = 0; $cat_posts[]='Select'; foreach($categories as $category){ if($m==0){ $default = $category->slug; $m++; } $cat_posts[$category->slug] = $category->name; } $wp_customize->add_setting('arcade_games_products_category',array( 'default' => 'select', 'sanitize_callback' => 'arcade_games_sanitize_select', )); $wp_customize->add_control('arcade_games_products_category',array( 'type' => 'select', 'choices' => $cat_posts, 'label' => __('Select category to display games ','arcade-games'), 'section' => 'arcade_games_products_section', )); }