'slider',
'settings' => 'cafe_cafeteria_logo_resizer',
'label' => esc_html__( 'Adjust Your Logo Size ', 'cafe-cafeteria' ),
'section' => 'title_tagline',
'default' => 70,
'choices' => [
'min' => 10,
'max' => 300,
'step' => 10,
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_enable_logo_text',
'section' => 'title_tagline',
'default' => '
' . __( 'Enable / Disable Site Title and Tagline', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'cafe_cafeteria_display_header_title',
'label' => esc_html__( 'Site Title Enable / Disable Button', 'cafe-cafeteria' ),
'section' => 'title_tagline',
'default' => '1',
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'cafe-cafeteria' ),
'off' => esc_html__( 'Disable', 'cafe-cafeteria' ),
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'cafe_cafeteria_display_header_text',
'label' => esc_html__( 'Tagline Enable / Disable Button', 'cafe-cafeteria' ),
'section' => 'title_tagline',
'default' => false,
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'cafe-cafeteria' ),
'off' => esc_html__( 'Disable', 'cafe-cafeteria' ),
],
] );
//FONT STYLE TYPOGRAPHY
Kirki::add_panel( 'cafe_cafeteria_panel_id', array(
'priority' => 10,
'title' => esc_html__( 'Typography', 'cafe-cafeteria' ),
) );
Kirki::add_section( 'cafe_cafeteria_font_style_section', array(
'title' => esc_attr__( 'Typography Option', 'cafe-cafeteria' ),
'priority' => 2,
'capability' => 'edit_theme_options',
) );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_all_headings_typography',
'section' => 'cafe_cafeteria_font_style_section',
'default' => '' . __( 'Heading Of All Sections', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'global', array(
'type' => 'typography',
'settings' => 'cafe_cafeteria_all_headings_typography',
'label' => esc_attr__( 'Heading Typography', 'cafe-cafeteria' ),
'description' => esc_attr__( 'Select the typography options for your heading.', 'cafe-cafeteria' ),
'help' => esc_attr__( 'The typography options you set here will override the Body Typography options for all headers on your site (post titles, widget titles etc).', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_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' => 'cafe_cafeteria_body_content_typography',
'section' => 'cafe_cafeteria_font_style_section',
'default' => '' . __( 'Body Content', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'global', array(
'type' => 'typography',
'settings' => 'cafe_cafeteria_body_content_typography',
'label' => esc_attr__( 'Content Typography', 'cafe-cafeteria' ),
'description' => esc_attr__( 'Select the typography options for your heading.', 'cafe-cafeteria' ),
'help' => esc_attr__( 'The typography options you set here will override the Body Typography options for all headers on your site (post titles, widget titles etc).', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_font_style_section',
'priority' => 10,
'default' => array(
'font-family' => '',
'variant' => '',
),
'output' => array(
array(
'element' => array( 'body', ),
),
),
) );
// PANEL
Kirki::add_panel( 'cafe_cafeteria_panel_id', array(
'priority' => 10,
'title' => esc_html__( 'Theme Options', 'cafe-cafeteria' ),
) );
// Additional Settings
Kirki::add_section( 'cafe_cafeteria_additional_settings', array(
'title' => esc_html__( 'Additional Settings', 'cafe-cafeteria' ),
'description' => esc_html__( 'Scroll To Top', 'cafe-cafeteria' ),
'panel' => 'cafe_cafeteria_panel_id',
'priority' => 10,
) );
Kirki::add_field( 'theme_config_id', [
'type' => 'toggle',
'settings' => 'cafe_cafeteria_scroll_enable_setting',
'label' => esc_html__( 'Here you can enable or disable your scroller.', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_additional_settings',
'default' => '1',
'priority' => 10,
] );
new \Kirki\Field\Select(
[
'settings' => 'menu_text_transform_cafe_cafeteria',
'label' => esc_html__( 'Menus Text Transform', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_additional_settings',
'default' => 'CAPITALISE',
'placeholder' => esc_html__( 'Choose an option', 'cafe-cafeteria' ),
'choices' => [
'CAPITALISE' => esc_html__( 'CAPITALISE', 'cafe-cafeteria' ),
'UPPERCASE' => esc_html__( 'UPPERCASE', 'cafe-cafeteria' ),
'LOWERCASE' => esc_html__( 'LOWERCASE', 'cafe-cafeteria' ),
],
]
);
Kirki::add_field( 'theme_config_id', [
'type' => 'slider',
'settings' => 'cafe_cafeteria_container_width',
'label' => esc_html__( 'Theme Container Width', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_additional_settings',
'default' => 100,
'choices' => [
'min' => 50,
'max' => 100,
'step' => 1,
],
] );
// Woocommerce Settings
Kirki::add_section( 'cafe_cafeteria_woocommerce_settings', array(
'title' => esc_html__( 'Woocommerce Settings', 'cafe-cafeteria' ),
'description' => esc_html__( 'Shop Page', 'cafe-cafeteria' ),
'panel' => 'cafe_cafeteria_panel_id',
'priority' => 160,
) );
Kirki::add_field( 'theme_config_id', [
'type' => 'toggle',
'settings' => 'cafe_cafeteria_shop_sidebar',
'label' => esc_html__( 'Here you can enable or disable shop page sidebar.', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_woocommerce_settings',
'default' => '1',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'toggle',
'settings' => 'cafe_cafeteria_product_sidebar',
'label' => esc_html__( 'Here you can enable or disable product page sidebar.', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_woocommerce_settings',
'default' => '1',
'priority' => 10,
] );
// COLOR SECTION
Kirki::add_section( 'cafe_cafeteria_section_color', array(
'title' => esc_html__( 'Global Color', 'cafe-cafeteria' ),
'description' => esc_html__( 'Theme Color Settings', 'cafe-cafeteria' ),
'panel' => 'cafe_cafeteria_panel_id',
'priority' => 160,
) );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_global_colors',
'section' => 'cafe_cafeteria_section_color',
'default' => '' . __( 'Here you can change your theme color on one click.', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'color',
'settings' => 'cafe_cafeteria_global_color',
'label' => __( 'choose your Appropriate Color', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_section_color',
'default' => '#dfb581',
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'color',
'settings' => 'cafe_cafeteria_global_color_2',
'label' => __( 'Choose Your Second Color', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_section_color',
'default' => '#723626',
] );
// POST SECTION
Kirki::add_section( 'cafe_cafeteria_section_post', array(
'title' => esc_html__( 'Post Settings', 'cafe-cafeteria' ),
'description' => esc_html__( 'Here you can get different post settings', 'cafe-cafeteria' ),
'panel' => 'cafe_cafeteria_panel_id',
'priority' => 160,
) );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_enable_post_heading',
'section' => 'cafe_cafeteria_section_post',
'default' => '' . __( 'Enable / Disable Post Settings.', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'cafe_cafeteria_blog_admin_enable',
'label' => esc_html__( 'Post Author Enable / Disable Button', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_section_post',
'default' => '1',
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'cafe-cafeteria' ),
'off' => esc_html__( 'Disable', 'cafe-cafeteria' ),
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'cafe_cafeteria_blog_comment_enable',
'label' => esc_html__( 'Post Comment Enable / Disable Button', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_section_post',
'default' => '1',
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'cafe-cafeteria' ),
'off' => esc_html__( 'Disable', 'cafe-cafeteria' ),
],
] );
// HEADER SECTION
Kirki::add_section( 'cafe_cafeteria_section_header', array(
'title' => esc_html__( 'Header Settings', 'cafe-cafeteria' ),
'description' => esc_html__( 'Here you can add different type of social icons.', 'cafe-cafeteria' ),
'panel' => 'cafe_cafeteria_panel_id',
'priority' => 160,
) );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_enable_socail_link',
'section' => 'cafe_cafeteria_section_header',
'default' => '' . __( 'Social Media Link', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'repeater',
'section' => 'cafe_cafeteria_section_header',
'priority' => 10,
'row_label' => [
'type' => 'field',
'value' => esc_html__( 'Social Icon', 'cafe-cafeteria' ),
'field' => 'link_text',
],
'button_label' => esc_html__('Add New Social Icon', 'cafe-cafeteria' ),
'settings' => 'cafe_cafeteria_social_links_settings',
'default' => '',
'fields' => [
'link_text' => [
'type' => 'text',
'label' => esc_html__( 'Icon', 'cafe-cafeteria' ),
'description' => esc_html__( 'Add the fontawesome class ex: "fab fa-facebook-f".', 'cafe-cafeteria' ),
'default' => '',
],
'link_url' => [
'type' => 'url',
'label' => esc_html__( 'Social Link', 'cafe-cafeteria' ),
'description' => esc_html__( 'Add the social icon url here.', 'cafe-cafeteria' ),
'default' => '',
],
],
'choices' => [
'limit' => 5
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_button1_text',
'section' => 'cafe_cafeteria_section_header',
'default' => '' . __( 'Button 1 Text', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'text',
'label' => __( 'Add Text', 'cafe-cafeteria' ),
'settings' => 'cafe_cafeteria_register_text',
'section' => 'cafe_cafeteria_section_header',
'default' => '',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'link',
'label' => __( 'Add Link', 'cafe-cafeteria' ),
'settings' => 'cafe_cafeteria_register_link',
'section' => 'cafe_cafeteria_section_header',
'default' => '',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_button2_text',
'section' => 'cafe_cafeteria_section_header',
'default' => '' . __( 'Button 2 Text', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'text',
'label' => __( 'Add Text', 'cafe-cafeteria' ),
'settings' => 'cafe_cafeteria_login_text',
'section' => 'cafe_cafeteria_section_header',
'default' => '',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'link',
'label' => __( 'Add Link', 'cafe-cafeteria' ),
'settings' => 'cafe_cafeteria_login_link',
'section' => 'cafe_cafeteria_section_header',
'default' => '',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_enable_search',
'section' => 'cafe_cafeteria_section_header',
'default' => '' . __( 'Enable / Disable Search Box', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'cafe_cafeteria_search_box_enable',
'label' => esc_html__( 'Search Enable / Disable Button', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_section_header',
'default' => '1',
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'cafe-cafeteria' ),
'off' => esc_html__( 'Disable', 'cafe-cafeteria' ),
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_enable_cart',
'section' => 'cafe_cafeteria_section_header',
'default' => '' . __( 'Enable / Disable Cart', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'cafe_cafeteria_cart_box_enable',
'label' => esc_html__( 'Cart Enable / Disable Button', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_section_header',
'default' => '1',
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'cafe-cafeteria' ),
'off' => esc_html__( 'Disable', 'cafe-cafeteria' ),
],
] );
// SLIDER SECTION
Kirki::add_section( 'cafe_cafeteria_blog_slide_section', array(
'title' => esc_html__( ' Slider Settings', 'cafe-cafeteria' ),
'description' => esc_html__( 'You have to select post category to show slider.', 'cafe-cafeteria' ),
'panel' => 'cafe_cafeteria_panel_id',
'priority' => 160,
) );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_enable_heading',
'section' => 'cafe_cafeteria_blog_slide_section',
'default' => '' . __( 'Enable / Disable Slider', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'cafe_cafeteria_blog_box_enable',
'label' => esc_html__( 'Section Enable / Disable', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_blog_slide_section',
'default' => false,
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'cafe-cafeteria' ),
'off' => esc_html__( 'Disable', 'cafe-cafeteria' ),
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'cafe_cafeteria_slide_title_enable_disable',
'label' => esc_html__( 'Slide Title Enable / Disable', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_blog_slide_section',
'default' => '1',
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'cafe-cafeteria' ),
'off' => esc_html__( 'Disable', 'cafe-cafeteria' ),
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'cafe_cafeteria_slide_text_enable_disable',
'label' => esc_html__( 'Slide Text Enable / Disable', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_blog_slide_section',
'default' => '1',
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'cafe-cafeteria' ),
'off' => esc_html__( 'Disable', 'cafe-cafeteria' ),
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_slider_heading',
'section' => 'cafe_cafeteria_blog_slide_section',
'default' => '' . __( 'Slider', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'number',
'settings' => 'cafe_cafeteria_blog_slide_number',
'label' => esc_html__( 'Number of slides to show', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_blog_slide_section',
'default' => 15,
'choices' => [
'min' => 0,
'max' => 80,
'step' => 1,
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'select',
'settings' => 'cafe_cafeteria_blog_slide_category',
'label' => esc_html__( 'Select the category to show slider ( Image Dimension 1600 x 600 )', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_blog_slide_section',
'default' => '',
'placeholder' => esc_html__( 'Select an category...', 'cafe-cafeteria' ),
'priority' => 10,
'choices' => cafe_cafeteria_get_categories_select(),
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_excerpt_number',
'section' => 'cafe_cafeteria_blog_slide_section',
'default' => '' . __( 'Number Of Text', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'slider',
'settings' => 'cafe_cafeteria_slide_excerpt_number',
'label' => esc_html__( 'Slide Content Range', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_blog_slide_section',
'default' => 15,
'choices' => [
'min' => 0,
'max' => 100,
'step' => 1,
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_slider_button_heading',
'section' => 'cafe_cafeteria_blog_slide_section',
'default' => '' . __( 'Slider Button Text', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'text',
'settings' => 'cafe_cafeteria_slider_button_text',
'section' => 'cafe_cafeteria_blog_slide_section',
'default' => '',
'priority' => 10,
] );
new \Kirki\Field\Select(
[
'settings' => 'cafe_cafeteria_slider_content_alignment',
'label' => esc_html__( 'Slider Content Alignment', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_blog_slide_section',
'default' => 'CENTER-ALIGN',
'placeholder' => esc_html__( 'Choose an option', 'cafe-cafeteria' ),
'choices' => [
'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'cafe-cafeteria' ),
'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'cafe-cafeteria' ),
'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'cafe-cafeteria' ),
],
] );
// OUR STORY SECTION
Kirki::add_section( 'cafe_cafeteria_our_story_section', array(
'title' => esc_html__( 'Our Story Settings', 'cafe-cafeteria' ),
'description' => esc_html__( 'You have to select page to show our story section.', 'cafe-cafeteria' ),
'panel' => 'cafe_cafeteria_panel_id',
'priority' => 160,
) );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_services_enable_heading',
'section' => 'cafe_cafeteria_our_story_section',
'default' => '' . __( 'Enable / Disable Our Story Section', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'cafe_cafeteria_our_story_enable',
'label' => esc_html__( 'Section Enable / Disable', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_our_story_section',
'default' => false,
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'cafe-cafeteria' ),
'off' => esc_html__( 'Disable', 'cafe-cafeteria' ),
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_our_story_section_title_heading',
'section' => 'cafe_cafeteria_our_story_section',
'default' => '' . __( 'Section Title', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'text',
'settings' => 'cafe_cafeteria_our_story_section_title',
'section' => 'cafe_cafeteria_our_story_section',
'default' => '',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_our_story_image1_heading',
'section' => 'cafe_cafeteria_our_story_section',
'default' => '' . __( 'Image 1', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'image',
'settings' => 'cafe_cafeteria_our_story_image1',
'section' => 'cafe_cafeteria_our_story_section',
'default' => '',
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_our_story_image2_heading',
'section' => 'cafe_cafeteria_our_story_section',
'default' => '' . __( 'Image 2', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'image',
'settings' => 'cafe_cafeteria_our_story_image2',
'section' => 'cafe_cafeteria_our_story_section',
'default' => '',
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_our_story_text_heading',
'section' => 'cafe_cafeteria_our_story_section',
'default' => '' . __( 'Heading', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'text',
'settings' => 'cafe_cafeteria_our_story_heading_text',
'section' => 'cafe_cafeteria_our_story_section',
'default' => '',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_our_story_page_heading',
'section' => 'cafe_cafeteria_our_story_section',
'default' => '' . __( 'Page Dropdown', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'dropdown-pages',
'settings' => 'cafe_cafeteria_our_story',
'section' => 'cafe_cafeteria_our_story_section',
'default' => 42,
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_our_story_xcerpt_heading',
'section' => 'cafe_cafeteria_our_story_section',
'default' => '' . __( 'Number Of Text', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'slider',
'settings' => 'cafe_cafeteria_story_excerpt_number',
'label' => esc_html__( 'About Us Content Range', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_our_story_section',
'default' => 15,
'choices' => [
'min' => 0,
'max' => 100,
'step' => 1,
],
] );
// FOOTER SECTION
Kirki::add_section( 'cafe_cafeteria_footer_section', array(
'title' => esc_html__( 'Footer Settings', 'cafe-cafeteria' ),
'description' => esc_html__( 'Here you can change copyright text', 'cafe-cafeteria' ),
'panel' => 'cafe_cafeteria_panel_id',
'priority' => 160,
) );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_footer_text_heading',
'section' => 'cafe_cafeteria_footer_section',
'default' => '' . __( 'Footer Copyright Text', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'text',
'settings' => 'cafe_cafeteria_footer_text',
'section' => 'cafe_cafeteria_footer_section',
'default' => '',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_footer_enable_heading',
'section' => 'cafe_cafeteria_footer_section',
'default' => '' . __( 'Enable / Disable Footer Link', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'cafe_cafeteria_copyright_enable',
'label' => esc_html__( 'Section Enable / Disable', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_footer_section',
'default' => '1',
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'cafe-cafeteria' ),
'off' => esc_html__( 'Disable', 'cafe-cafeteria' ),
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_footer_text_heading_2',
'section' => 'cafe_cafeteria_footer_section',
'default' => '' . __( 'Footer Copyright Alignment', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
new \Kirki\Field\Select(
[
'settings' => 'cafe_cafeteria_copyright_text_alignment',
'label' => esc_html__( 'Copyright text Alignment', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_footer_section',
'default' => 'CENTER-ALIGN',
'placeholder' => esc_html__( 'Choose an option', 'cafe-cafeteria' ),
'choices' => [
'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'cafe-cafeteria' ),
'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'cafe-cafeteria' ),
'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'cafe-cafeteria' ),
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'cafe_cafeteria_footer_text_heading_1',
'section' => 'cafe_cafeteria_footer_section',
'default' => '' . __( 'Footer Copyright Background Color', 'cafe-cafeteria' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'color',
'settings' => 'cafe_cafeteria_copyright_bg',
'label' => __( 'Choose Your Copyright Background Color', 'cafe-cafeteria' ),
'section' => 'cafe_cafeteria_footer_section',
'default' => '',
] );
}