'slider',
'settings' => 'automobile_rental_logo_resizer',
'label' => esc_html__( 'Adjust Your Logo Size ', 'automobile-rental' ),
'section' => 'title_tagline',
'default' => 70,
'choices' => [
'min' => 10,
'max' => 300,
'step' => 10,
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_enable_logo_text',
'section' => 'title_tagline',
'default' => '
' . __( 'Enable / Disable Site Title and Tagline', 'automobile-rental' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'automobile_rental_display_header_title',
'label' => esc_html__( 'Site Title Enable / Disable Button', 'automobile-rental' ),
'section' => 'title_tagline',
'default' => '1',
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'automobile-rental' ),
'off' => esc_html__( 'Disable', 'automobile-rental' ),
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'automobile_rental_display_header_text',
'label' => esc_html__( 'Tagline Enable / Disable Button', 'automobile-rental' ),
'section' => 'title_tagline',
'default' => false,
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'automobile-rental' ),
'off' => esc_html__( 'Disable', 'automobile-rental' ),
],
] );
// FONT STYLE TYPOGRAPHY
Kirki::add_panel( 'automobile_rental_panel_id', array(
'priority' => 10,
'title' => esc_html__( 'Typography', 'automobile-rental' ),
) );
Kirki::add_section( 'automobile_rental_font_style_section', array(
'title' => esc_html__( 'Typography Option', 'automobile-rental' ),
'priority' => 2,
'capability' => 'edit_theme_options',
) );
Kirki::add_field( 'theme_config_id', [
'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'automobile-rental' ) . '',
'default' => '' . __( 'GO TO PREMIUM', 'automobile-rental' ) . '',
'type' => 'custom',
'section' => 'automobile_rental_font_style_section',
'description' => '' . __( '
1. One Click Demo Importer
2. Color Pallete Setup
3. Section Reordering Facility
4. For More Options kindly Go For Premium Version.
', 'automobile-rental' ) . '
',
'priority' => 10,
]);
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_all_headings_typography',
'section' => 'automobile_rental_font_style_section',
'default' => '' . __( 'Heading Of All Sections', 'automobile-rental' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'global', array(
'type' => 'typography',
'settings' => 'automobile_rental_all_headings_typography',
'label' => esc_html__( 'Heading Typography', 'automobile-rental' ),
'description' => esc_html__( 'Select the typography options for your heading.', 'automobile-rental' ),
'section' => 'automobile_rental_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' => 'automobile_rental_body_content_typography',
'section' => 'automobile_rental_font_style_section',
'default' => '' . __( 'Body Content', 'automobile-rental' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'global', array(
'type' => 'typography',
'settings' => 'automobile_rental_body_content_typography',
'label' => esc_html__( 'Content Typography', 'automobile-rental' ),
'description' => esc_html__( 'Select the typography options for your content.', 'automobile-rental' ),
'section' => 'automobile_rental_font_style_section',
'priority' => 10,
'default' => array(
'font-family' => '',
'variant' => '',
),
'output' => array(
array(
'element' => array( 'body', ),
),
),
) );
// PANEL
Kirki::add_panel( 'automobile_rental_panel_id_3', array(
'priority' => 10,
'title' => esc_html__( '404 Settings / No Result', 'automobile-rental' ),
) );
// 404 SECTION
Kirki::add_section( 'automobile_rental_section_404', array(
'panel' => 'automobile_rental_panel_id_3',
'title' => esc_html__( '404 Settings', 'automobile-rental' ),
'priority' => 3,
) );
Kirki::add_field( 'theme_config_id', [
'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'automobile-rental' ) . '',
'default' => '' . __( 'GO TO PREMIUM', 'automobile-rental' ) . '',
'type' => 'custom',
'section' => 'automobile_rental_section_404',
'description' => '' . __( '
1. One Click Demo Importer
2. Color Pallete Setup
3. Section Reordering Facility
4. For More Options kindly Go For Premium Version.
', 'automobile-rental' ) . '
',
'priority' => 10,
]);
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_404_heading',
'section' => 'automobile_rental_section_404',
'default' => '' . __( '404 Heading', 'automobile-rental' ) . '
',
'priority' => 10,
]);
Kirki::add_field( 'theme_config_id', [
'type' => 'text',
'settings' => 'automobile_rental_404_page_title',
'section' => 'automobile_rental_section_404',
'default' => esc_html__('404 Not Found', 'automobile-rental'),
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_404_text',
'section' => 'automobile_rental_section_404',
'default' => '' . __( '404 Content', 'automobile-rental' ) . '
',
'priority' => 10,
]);
Kirki::add_field( 'theme_config_id', [
'type' => 'text',
'settings' => 'automobile_rental_404_page_content',
'section' => 'automobile_rental_section_404',
'default' => esc_html__('Sorry, no posts matched your criteria.', 'automobile-rental'),
'priority' => 10,
] );
// NO Result
Kirki::add_section( 'automobile_rental_no_result', array(
'panel' => 'automobile_rental_panel_id_3',
'title' => esc_html__( 'No Result Page Settings', 'automobile-rental' ),
'priority' => 3,
) );
Kirki::add_field( 'theme_config_id', [
'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'automobile-rental' ) . '',
'default' => '' . __( 'GO TO PREMIUM', 'automobile-rental' ) . '',
'type' => 'custom',
'section' => 'automobile_rental_no_result',
'description' => '' . __( '
1. One Click Demo Importer
2. Color Pallete Setup
3. Section Reordering Facility
4. For More Options kindly Go For Premium Version.
', 'automobile-rental' ) . '
',
'priority' => 10,
]);
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_not_found_heading',
'section' => 'automobile_rental_no_result',
'default' => '' . __( 'No Search Result Heading', 'automobile-rental' ) . '
',
'priority' => 10,
]);
Kirki::add_field( 'theme_config_id', [
'type' => 'text',
'settings' => 'automobile_rental_no_results_page_title',
'section' => 'automobile_rental_no_result',
'default' => esc_html__('404 Not Found', 'automobile-rental'),
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_not_found_text',
'section' => 'automobile_rental_no_result',
'default' => '' . __( 'No Search Result Content', 'automobile-rental' ) . '
',
'priority' => 10,
]);
Kirki::add_field( 'theme_config_id', [
'type' => 'text',
'settings' => 'automobile_rental_no_results_page_content',
'section' => 'automobile_rental_no_result',
'default' => esc_html__('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'automobile-rental'),
'priority' => 10,
] );
// PANEL
Kirki::add_panel( 'automobile_rental_panel_id', array(
'priority' => 10,
'title' => esc_html__( 'Theme Options', 'automobile-rental' ),
) );
// Additional Settings
Kirki::add_section( 'automobile_rental_additional_settings', array(
'title' => esc_html__( 'Additional Settings', 'automobile-rental' ),
'panel' => 'automobile_rental_panel_id',
'priority' => 160,
) );
Kirki::add_field( 'theme_config_id', [
'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'automobile-rental' ) . '',
'default' => '' . __( 'GO TO PREMIUM', 'automobile-rental' ) . '',
'type' => 'custom',
'section' => 'automobile_rental_additional_settings',
'description' => '' . __( '
1. One Click Demo Importer
2. Color Pallete Setup
3. Section Reordering Facility
4. For More Options kindly Go For Premium Version.
', 'automobile-rental' ) . '
',
'priority' => 10,
]);
Kirki::add_field( 'theme_config_id', [
'type' => 'toggle',
'settings' => 'automobile_rental_scroll_enable_setting',
'label' => esc_html__( 'Here you can enable or disable your scroller.', 'automobile-rental' ),
'section' => 'automobile_rental_additional_settings',
'default' => '1',
'priority' => 10,
] );
new \Kirki\Field\Radio_Buttonset(
[
'settings' => 'automobile_rental_scroll_top_position',
'label' => esc_html__( 'Alignment for Scroll To Top', 'automobile-rental' ),
'section' => 'automobile_rental_additional_settings',
'default' => 'Right',
'priority' => 10,
'choices' => [
'Left' => esc_html__( 'Left', 'automobile-rental' ),
'Center' => esc_html__( 'Center', 'automobile-rental' ),
'Right' => esc_html__( 'Right', 'automobile-rental' ),
],
]
);
Kirki::add_field( 'theme_config_id', [
'type' => 'dashicons',
'settings' => 'automobile_rental_scroll_top_icon',
'label' => esc_html__( 'Select Appropriate Scroll Top Icon', 'automobile-rental' ),
'section' => 'automobile_rental_additional_settings',
'default' => 'dashicons dashicons-arrow-up-alt',
'priority' => 10,
] );
new \Kirki\Field\Select(
[
'settings' => 'menu_text_transform_automobile_rental',
'label' => esc_html__( 'Menus Text Transform', 'automobile-rental' ),
'section' => 'automobile_rental_additional_settings',
'default' => 'CAPITALISE',
'placeholder' => esc_html__( 'Choose an option', 'automobile-rental' ),
'choices' => [
'CAPITALISE' => esc_html__( 'CAPITALISE', 'automobile-rental' ),
'UPPERCASE' => esc_html__( 'UPPERCASE', 'automobile-rental' ),
'LOWERCASE' => esc_html__( 'LOWERCASE', 'automobile-rental' ),
],
] );
new \Kirki\Field\Select(
[
'settings' => 'automobile_rental_menu_zoom',
'label' => esc_html__( 'Menu Transition', 'automobile-rental' ),
'section' => 'automobile_rental_additional_settings',
'default' => 'Zoom Out',
'placeholder' => esc_html__( 'Choose an option', 'automobile-rental' ),
'choices' => [
'Zoomout' => __('Zoom Out','automobile-rental'),
'Zoominn' => __('Zoom Inn','automobile-rental'),
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'slider',
'settings' => 'automobile_rental_container_width',
'label' => esc_html__( 'Theme Container Width', 'automobile-rental' ),
'section' => 'automobile_rental_additional_settings',
'default' => 100,
'choices' => [
'min' => 50,
'max' => 100,
'step' => 1,
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'toggle',
'settings' => 'automobile_rental_site_loader',
'label' => esc_html__( 'Here you can enable or disable your Site Loader.', 'automobile-rental' ),
'section' => 'automobile_rental_additional_settings',
'default' => false,
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'toggle',
'settings' => 'automobile_rental_sticky_header',
'label' => esc_html__( 'Here you can enable or disable your Sticky Header.', 'automobile-rental' ),
'section' => 'automobile_rental_additional_settings',
'default' => false,
'priority' => 10,
] );
new \Kirki\Field\Select(
[
'settings' => 'automobile_rental_page_layout',
'label' => esc_html__( 'Page Layout Setting', 'automobile-rental' ),
'section' => 'automobile_rental_additional_settings',
'default' => 'Right Sidebar',
'placeholder' => esc_html__( 'Choose an option', 'automobile-rental' ),
'choices' => [
'Left Sidebar' => __('Left Sidebar','automobile-rental'),
'Right Sidebar' => __('Right Sidebar','automobile-rental'),
'One Column' => __('One Column','automobile-rental')
],
] );
if ( class_exists("woocommerce")){
// Woocommerce Settings
Kirki::add_section( 'automobile_rental_woocommerce_settings', array(
'title' => esc_html__( 'Woocommerce Settings', 'automobile-rental' ),
'panel' => 'automobile_rental_panel_id',
'priority' => 160,
) );
Kirki::add_field( 'theme_config_id', [
'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'automobile-rental' ) . '',
'default' => '' . __( 'GO TO PREMIUM', 'automobile-rental' ) . '',
'type' => 'custom',
'section' => 'automobile_rental_woocommerce_settings',
'description' => '' . __( '
1. One Click Demo Importer
2. Color Pallete Setup
3. Section Reordering Facility
4. For More Options kindly Go For Premium Version.
', 'automobile-rental' ) . '
',
'priority' => 10,
]);
Kirki::add_field( 'theme_config_id', [
'type' => 'toggle',
'settings' => 'automobile_rental_shop_sidebar',
'label' => esc_html__( 'Here you can enable or disable shop page sidebar.', 'automobile-rental' ),
'section' => 'automobile_rental_woocommerce_settings',
'default' => '1',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'toggle',
'settings' => 'automobile_rental_product_sidebar',
'label' => esc_html__( 'Here you can enable or disable product page sidebar.', 'automobile-rental' ),
'section' => 'automobile_rental_woocommerce_settings',
'default' => '1',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'toggle',
'settings' => 'automobile_rental_related_product_setting',
'label' => esc_html__( 'Here you can enable or disable your related products.', 'automobile-rental' ),
'section' => 'automobile_rental_woocommerce_settings',
'default' => true,
'priority' => 10,
] );
new \Kirki\Field\Number(
[
'settings' => 'automobile_rental_per_columns',
'label' => esc_html__( 'Product Per Row', 'automobile-rental' ),
'section' => 'automobile_rental_woocommerce_settings',
'default' => 3,
'choices' => [
'min' => 1,
'max' => 4,
'step' => 1,
],
]
);
new \Kirki\Field\Number(
[
'settings' => 'automobile_rental_product_per_page',
'label' => esc_html__( 'Product Per Page', 'automobile-rental' ),
'section' => 'automobile_rental_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', 'automobile-rental' ),
'section' => 'automobile_rental_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', 'automobile-rental' ),
'section' => 'automobile_rental_woocommerce_settings',
'default' => 3,
'choices' => [
'min' => 1,
'max' => 10,
'step' => 1,
],
]
);
new \Kirki\Field\Select(
[
'settings' => 'automobile_rental_shop_page_layout',
'label' => esc_html__( 'Shop Page Layout Setting', 'automobile-rental' ),
'section' => 'automobile_rental_woocommerce_settings',
'default' => 'Right Sidebar',
'placeholder' => esc_html__( 'Choose an option', 'automobile-rental' ),
'choices' => [
'Left Sidebar' => __('Left Sidebar','automobile-rental'),
'Right Sidebar' => __('Right Sidebar','automobile-rental')
],
] );
new \Kirki\Field\Select(
[
'settings' => 'automobile_rental_product_page_layout',
'label' => esc_html__( 'Product Page Layout Setting', 'automobile-rental' ),
'section' => 'automobile_rental_woocommerce_settings',
'default' => 'Right Sidebar',
'placeholder' => esc_html__( 'Choose an option', 'automobile-rental' ),
'choices' => [
'Left Sidebar' => __('Left Sidebar','automobile-rental'),
'Right Sidebar' => __('Right Sidebar','automobile-rental')
],
] );
new \Kirki\Field\Radio_Buttonset( [
'settings' => 'automobile_rental_woocommerce_pagination_position',
'label' => esc_html__( 'Woocommerce Pagination Alignment', 'automobile-rental' ),
'section' => 'automobile_rental_woocommerce_settings',
'default' => 'Center',
'priority' => 10,
'choices' => [
'Left' => esc_html__( 'Left', 'automobile-rental' ),
'Center' => esc_html__( 'Center', 'automobile-rental' ),
'Right' => esc_html__( 'Right', 'automobile-rental' ),
],
]
);
}
// POST SECTION
Kirki::add_section( 'automobile_rental_section_post', array(
'title' => esc_html__( 'Post Settings', 'automobile-rental' ),
'panel' => 'automobile_rental_panel_id',
'priority' => 160,
) );
Kirki::add_field( 'theme_config_id', [
'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'automobile-rental' ) . '',
'default' => '' . __( 'GO TO PREMIUM', 'automobile-rental' ) . '',
'type' => 'custom',
'section' => 'automobile_rental_section_post',
'description' => '' . __( '
1. One Click Demo Importer
2. Color Pallete Setup
3. Section Reordering Facility
4. For More Options kindly Go For Premium Version.
', 'automobile-rental' ) . '
',
'priority' => 10,
]);
new \Kirki\Field\Sortable(
[
'settings' => 'automobile_rental_archive_element_sortable',
'label' => __( 'Archive Post Page Element Reordering', 'automobile-rental' ),
'description' => esc_html__( 'This setting is not favorable with post format.', 'automobile-rental' ),
'section' => 'automobile_rental_section_post',
'default' => [ 'option1', 'option2', 'option3', 'option4', 'option5' ],
'choices' => [
'option1' => esc_html__( 'Post Image', 'automobile-rental' ),
'option2' => esc_html__( 'Post Meta', 'automobile-rental' ),
'option3' => esc_html__( 'Post Title', 'automobile-rental' ),
'option4' => esc_html__( 'Post Content', 'automobile-rental' ),
'option5' => esc_html__( 'Post Categories', 'automobile-rental' ),
],
]
);
Kirki::add_field( 'theme_config_id', [
'type' => 'slider',
'settings' => 'automobile_rental_post_excerpt_number',
'label' => esc_html__( 'Post Content Range', 'automobile-rental' ),
'section' => 'automobile_rental_section_post',
'default' => 15,
'choices' => [
'min' => 0,
'max' => 100,
'step' => 1,
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'toggle',
'settings' => 'automobile_rental_pagination_setting',
'label' => esc_html__( 'Here you can enable or disable your Pagination.', 'automobile-rental' ),
'section' => 'automobile_rental_section_post',
'default' => true,
'priority' => 10,
] );
new \Kirki\Field\Select(
[
'settings' => 'automobile_rental_archive_sidebar_layout',
'label' => esc_html__( 'Archive Post Sidebar Layout Setting', 'automobile-rental' ),
'section' => 'automobile_rental_section_post',
'default' => 'Right Sidebar',
'placeholder' => esc_html__( 'Choose an option', 'automobile-rental' ),
'choices' => [
'Left Sidebar' => __('Left Sidebar','automobile-rental'),
'Right Sidebar' => __('Right Sidebar','automobile-rental'),
'Three Column' => __('Three Column','automobile-rental'),
'Four Column' => __('Four Column','automobile-rental'),
'Grid Layout Without Sidebar' => __('Grid Layout Without Sidebar','automobile-rental'),
'Grid Layout With Right Sidebar' => __('Grid Layout With Right Sidebar','automobile-rental'),
'Grid Layout With Left Sidebar' => __('Grid Layout With Left Sidebar','automobile-rental')
],
] );
new \Kirki\Field\Select(
[
'settings' => 'automobile_rental_single_post_sidebar_layout',
'label' => esc_html__( 'Single Post Sidebar Layout Setting', 'automobile-rental' ),
'section' => 'automobile_rental_section_post',
'default' => 'Right Sidebar',
'placeholder' => esc_html__( 'Choose an option', 'automobile-rental' ),
'choices' => [
'Left Sidebar' => __('Left Sidebar','automobile-rental'),
'Right Sidebar' => __('Right Sidebar','automobile-rental'),
],
] );
new \Kirki\Field\Select(
[
'settings' => 'automobile_rental_search_sidebar_layout',
'label' => esc_html__( 'Search Page Sidebar Layout Setting', 'automobile-rental' ),
'section' => 'automobile_rental_section_post',
'default' => 'Right Sidebar',
'placeholder' => esc_html__( 'Choose an option', 'automobile-rental' ),
'choices' => [
'Left Sidebar' => __('Left Sidebar','automobile-rental'),
'Right Sidebar' => __('Right Sidebar','automobile-rental'),
'Three Column' => __('Three Column','automobile-rental'),
'Four Column' => __('Four Column','automobile-rental'),
'Grid Layout Without Sidebar' => __('Grid Layout Without Sidebar','automobile-rental'),
'Grid Layout With Right Sidebar' => __('Grid Layout With Right Sidebar','automobile-rental'),
'Grid Layout With Left Sidebar' => __('Grid Layout With Left Sidebar','automobile-rental')
],
] );
// Breadcrumb
Kirki::add_section( 'automobile_rental_bradcrumb', array(
'title' => esc_html__( 'Breadcrumb Settings', 'automobile-rental' ),
'panel' => 'automobile_rental_panel_id',
'priority' => 160,
) );
Kirki::add_field( 'theme_config_id', [
'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'automobile-rental' ) . '',
'default' => '' . __( 'GO TO PREMIUM', 'automobile-rental' ) . '',
'type' => 'custom',
'section' => 'automobile_rental_bradcrumb',
'description' => '' . __( '
1. One Click Demo Importer
2. Color Pallete Setup
3. Section Reordering Facility
4. For More Options kindly Go For Premium Version.
', 'automobile-rental' ) . '
',
'priority' => 10,
]);
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_enable_breadcrumb_heading',
'section' => 'automobile_rental_bradcrumb',
'default' => '' . __( 'Enable / Disable Single Page Breadcrumb', 'automobile-rental' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'automobile_rental_breadcrumb_enable',
'label' => esc_html__( 'Breadcrumb Enable / Disable', 'automobile-rental' ),
'section' => 'automobile_rental_bradcrumb',
'default' => true,
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'automobile-rental' ),
'off' => esc_html__( 'Disable', 'automobile-rental' ),
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'text',
'default' => '/',
'settings' => 'automobile_rental_breadcrumb_separator' ,
'label' => esc_html__( 'Breadcrumb Separator', 'automobile-rental' ),
'section' => 'automobile_rental_bradcrumb',
] );
// HEADER SECTION
Kirki::add_section( 'automobile_rental_header_section', array(
'title' => esc_html__( 'Header Settings', 'automobile-rental' ),
'panel' => 'automobile_rental_panel_id',
'priority' => 160,
) );
Kirki::add_field( 'theme_config_id', [
'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'automobile-rental' ) . '',
'default' => '' . __( 'GO TO PREMIUM', 'automobile-rental' ) . '',
'type' => 'custom',
'section' => 'automobile_rental_header_section',
'description' => '' . __( '
1. One Click Demo Importer
2. Color Pallete Setup
3. Section Reordering Facility
4. For More Options kindly Go For Premium Version.
', 'automobile-rental' ) . '
',
'priority' => 10,
]);
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_header_inner_text_heading',
'section' => 'automobile_rental_header_section',
'default' => '' . __( 'Header Text', 'automobile-rental' ) . '
',
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'text',
'settings' => 'automobile_rental_header_inner_text' ,
'section' => 'automobile_rental_header_section',
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_header_inner_emial_heading',
'section' => 'automobile_rental_header_section',
'default' => '' . __( 'Header Email', 'automobile-rental' ) . '
',
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'text',
'settings' => 'automobile_rental_header_inner_emial' ,
'section' => 'automobile_rental_header_section',
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_header_inner_phone_number_heading',
'section' => 'automobile_rental_header_section',
'default' => '' . __( 'Header Phone Number', 'automobile-rental' ) . '
',
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'text',
'settings' => 'automobile_rental_header_inner_phone_number' ,
'section' => 'automobile_rental_header_section',
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_header_button_heading_button',
'section' => 'automobile_rental_header_section',
'priority' => 10,
'default' => '' . __( 'Header Button', 'automobile-rental' ) . '
',
] );
Kirki::add_field( 'theme_config_id', [
'label' => esc_html__( 'Button Text', 'automobile-rental' ),
'type' => 'text',
'settings' => 'automobile_rental_header_newsletter_button_text',
'section' => 'automobile_rental_header_section',
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'url',
'label' => esc_html__( 'Button URL', 'automobile-rental' ),
'settings' => 'automobile_rental_header_newsletter_button_url',
'section' => 'automobile_rental_header_section',
'default' => '',
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_enable_search',
'section' => 'automobile_rental_header_section',
'default' => '' . __( 'Enable / Disable Search Icon', 'automobile-rental' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'automobile_rental_search_box_enable',
'label' => esc_html__( 'Search Enable / Disable Button', 'automobile-rental' ),
'section' => 'automobile_rental_header_section',
'default' => '1',
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'automobile-rental' ),
'off' => esc_html__( 'Disable', 'automobile-rental' ),
],
] );
// SLIDER SECTION
Kirki::add_section( 'automobile_rental_blog_slide_section', array(
'title' => esc_html__( ' Slider Settings', 'automobile-rental' ),
'panel' => 'automobile_rental_panel_id',
'priority' => 160,
) );
Kirki::add_field( 'theme_config_id', [
'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'automobile-rental' ) . '',
'default' => '' . __( 'GO TO PREMIUM', 'automobile-rental' ) . '',
'type' => 'custom',
'section' => 'automobile_rental_blog_slide_section',
'description' => '' . __( '
1. One Click Demo Importer
2. Color Pallete Setup
3. Section Reordering Facility
4. For More Options kindly Go For Premium Version.
', 'automobile-rental' ) . '
',
'priority' => 10,
]);
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_enable_heading_2',
'section' => 'automobile_rental_blog_slide_section',
'default' => '' . __( 'Enable / Disable Slider', 'automobile-rental' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'automobile_rental_blog_box_enable',
'label' => esc_html__( 'Section Enable / Disable', 'automobile-rental' ),
'section' => 'automobile_rental_blog_slide_section',
'default' => true,
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'automobile-rental' ),
'off' => esc_html__( 'Disable', 'automobile-rental' ),
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_slider_heading',
'section' => 'automobile_rental_blog_slide_section',
'default' => '' . __( 'Slider', 'automobile-rental' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'number',
'settings' => 'automobile_rental_blog_slide_number',
'label' => esc_html__( 'Number of slides to show', 'automobile-rental' ),
'section' => 'automobile_rental_blog_slide_section',
'default' => 0,
'description' => esc_html__( 'Copy the shortcode from the Contact Form plugin, paste it here, publish the page, and then refresh the front end to display your form.', 'automobile-rental' ),
'choices' => [
'min' => 0,
'max' => 3,
'step' => 1,
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'select',
'settings' => 'automobile_rental_blog_slide_category',
'label' => esc_html__( 'Select the category to show slider ( Image Dimension 1600 x 600 )', 'automobile-rental' ),
'section' => 'automobile_rental_blog_slide_section',
'default' => '',
'placeholder' => esc_html__( 'Select an category...', 'automobile-rental' ),
'priority' => 10,
'choices' => automobile_rental_get_categories_select(),
] );
Kirki::add_field( 'theme_config_id', [
'label' => esc_html__( 'Form Shortcode', 'automobile-rental' ),
'type' => 'text',
'description' => esc_html__( 'Copy the shortcode from Contact form plugin and past it here and publish then refresh in front your form will show', 'automobile-rental' ),
'settings' => 'automobile_rental_contact_form_shortcode',
'section' => 'automobile_rental_blog_slide_section',
] );
//Categories SECTION
Kirki::add_section( 'automobile_rental_testimonial_section', array(
'title' => esc_html__( 'Top Categories Settings', 'automobile-rental' ),
'panel' => 'automobile_rental_panel_id',
'priority' => 160,
) );
Kirki::add_field( 'theme_config_id', [
'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'automobile-rental' ) . '',
'default' => '' . __( 'GO TO PREMIUM', 'automobile-rental' ) . '',
'type' => 'custom',
'section' => 'automobile_rental_testimonial_section',
'description' => '' . __( '
1. One Click Demo Importer
2. Color Pallete Setup
3. Section Reordering Facility
4. For More Options kindly Go For Premium Version.
', 'automobile-rental' ) . '
',
'priority' => 10,
]);
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_enable_heading',
'section' => 'automobile_rental_testimonial_section',
'default' => '' . __( 'Enable / Disable Top Categories', 'automobile-rental' ) . '
',
'priority' => 1,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'automobile_rental_testimonial_section_enable',
'section' => 'automobile_rental_testimonial_section',
'default' => true,
'priority' => 2,
'choices' => [
'on' => esc_html__( 'Enable', 'automobile-rental' ),
'off' => esc_html__( 'Disable', 'automobile-rental' ),
],
] );
Kirki::add_field( 'theme_config_id', [
'label' => esc_html__( 'Top Categories Heading', 'automobile-rental' ),
'type' => 'text',
'settings' => 'automobile_rental_categories_section_heading',
'section' => 'automobile_rental_testimonial_section',
] );
Kirki::add_field( 'theme_config_id', [
'label' => esc_html__( 'Top Categories Sub Heading', 'automobile-rental' ),
'type' => 'text',
'settings' => 'automobile_rental_categories_section_one_word',
'section' => 'automobile_rental_testimonial_section',
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'number',
'settings' => 'automobile_rental_blog_categories_section_number',
'label' => esc_html__( 'Number of Post to show', 'automobile-rental' ),
'section' => 'automobile_rental_testimonial_section',
'default' => 0,
'description' => esc_html__( 'After selecting no of Post publish them. Now you need to refresh the site After refreshing you will see further settings', 'automobile-rental' ),
'choices' => [
'min' => 0,
'max' => 6,
'step' => 1,
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'select',
'settings' => 'automobile_rental_blog_categories_section_category',
'label' => esc_html__( 'Select the category to show slider ( Image Dimension 1600 x 600 )', 'automobile-rental' ),
'section' => 'automobile_rental_testimonial_section',
'default' => '',
'placeholder' => esc_html__( 'Select an category...', 'automobile-rental' ),
'priority' => 10,
'choices' => automobile_rental_get_categories_select(),
] );
// FOOTER SECTION
Kirki::add_section( 'automobile_rental_footer_section', array(
'title' => esc_html__( 'Footer Settings', 'automobile-rental' ),
'description' => esc_html__( 'Here you can change copyright text', 'automobile-rental' ),
'panel' => 'automobile_rental_panel_id',
'priority' => 160,
) );
Kirki::add_field( 'theme_config_id', [
'label' => '' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'automobile-rental' ) . '',
'default' => '' . __( 'GO TO PREMIUM', 'automobile-rental' ) . '',
'type' => 'custom',
'section' => 'automobile_rental_footer_section',
'description' => '' . __( '
1. One Click Demo Importer
2. Color Pallete Setup
3. Section Reordering Facility
4. For More Options kindly Go For Premium Version.
', 'automobile-rental' ) . '
',
'priority' => 10,
]);
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_footer_enable_heading',
'section' => 'automobile_rental_footer_section',
'default' => '' . __( 'Enable / Disable Footer Link', 'automobile-rental' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'automobile_rental_copyright_enable',
'label' => esc_html__( 'Section Enable / Disable', 'automobile-rental' ),
'section' => 'automobile_rental_footer_section',
'default' => '1',
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'automobile-rental' ),
'off' => esc_html__( 'Disable', 'automobile-rental' ),
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_footer_text_heading',
'section' => 'automobile_rental_footer_section',
'default' => '' . __( 'Footer Copyright Text', 'automobile-rental' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'text',
'settings' => 'automobile_rental_footer_text',
'section' => 'automobile_rental_footer_section',
'default' => '',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_footer_text_heading_2',
'section' => 'automobile_rental_footer_section',
'default' => '' . __( 'Footer Copyright Alignment', 'automobile-rental' ) . '
',
'priority' => 10,
] );
new \Kirki\Field\Select(
[
'settings' => 'automobile_rental_copyright_text_alignment',
'label' => esc_html__( 'Copyright text Alignment', 'automobile-rental' ),
'section' => 'automobile_rental_footer_section',
'default' => 'LEFT-ALIGN',
'placeholder' => esc_html__( 'Choose an option', 'automobile-rental' ),
'choices' => [
'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'automobile-rental' ),
'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'automobile-rental' ),
'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'automobile-rental' ),
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_footer_text_heading_1',
'section' => 'automobile_rental_footer_section',
'default' => '' . __( 'Footer Copyright Background Color', 'automobile-rental' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'color',
'settings' => 'automobile_rental_copyright_bg',
'label' => __( 'Choose Your Copyright Background Color', 'automobile-rental' ),
'section' => 'automobile_rental_footer_section',
'default' => '',
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'automobile_rental_enable_footer_socail_link',
'section' => 'automobile_rental_footer_section',
'default' => '' . __( 'Social Media Link', 'automobile-rental' ) . '
',
'priority' => 11,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'repeater',
'section' => 'automobile_rental_footer_section',
'priority' => 11,
'row_label' => [
'type' => 'field',
'value' => esc_html__( 'Footer Social Icon', 'automobile-rental' ),
'field' => 'link_text',
],
'button_label' => esc_html__('Add New Social Icon', 'automobile-rental' ),
'settings' => 'automobile_rental_footer_social_links_settings',
'default' => '',
'fields' => [
'link_text' => [
'type' => 'text',
'label' => esc_html__( 'Icon', 'automobile-rental' ),
'description' => esc_html__( 'Add the fontawesome class ex: "fab fa-facebook-f".', 'automobile-rental' ),
'default' => '',
],
'link_url' => [
'type' => 'url',
'label' => esc_html__( 'Social Link', 'automobile-rental' ),
'description' => esc_html__( 'Add the social icon url here.', 'automobile-rental' ),
'default' => '',
],
],
'choices' => [
'limit' => 5
],
] );
}