esc_html__( 'Header Settings', 'beauty-spa-elementor' ),
'description' => esc_html__( 'Here you can add header information.', 'beauty-spa-elementor' ),
'priority' => 160,
) );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'beauty_spa_elementor_sticky_header',
'label' => esc_html__( 'Enable/Disable Sticky Header', 'beauty-spa-elementor' ),
'section' => 'beauty_spa_elementor_section_header',
'default' => 0,
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'beauty-spa-elementor' ),
'off' => esc_html__( 'Disable', 'beauty-spa-elementor' ),
],
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'beauty_spa_elementor_enable_button_heading',
'section' => 'beauty_spa_elementor_section_header',
'default' => '
' . __( ' Header Button', 'beauty-spa-elementor' ) . '
',
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'text',
'label' => esc_html__( 'Button Text', 'beauty-spa-elementor' ),
'settings' => 'beauty_spa_elementor_header_button_text',
'section' => 'beauty_spa_elementor_section_header',
'default' => '',
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'url',
'label' => esc_html__( 'Button URL', 'beauty-spa-elementor' ),
'settings' => 'beauty_spa_elementor_header_button_url',
'section' => 'beauty_spa_elementor_section_header',
'default' => '',
] );
// POST SECTION
Kirki::add_section( 'beauty_spa_elementor_blog_post', array(
'title' => esc_html__( 'Post Settings', 'beauty-spa-elementor' ),
'description' => esc_html__( 'Here you can add post information.', 'beauty-spa-elementor' ),
'priority' => 160,
) );
Kirki::add_field( 'theme_config_id', [
'type' => 'toggle',
'settings' => 'beauty_spa_elementor_date_hide',
'label' => esc_html__( 'Enable / Disable Post Date', 'beauty-spa-elementor' ),
'section' => 'beauty_spa_elementor_blog_post',
'default' => '1',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'toggle',
'settings' => 'beauty_spa_elementor_author_hide',
'label' => esc_html__( 'Enable / Disable Post Author', 'beauty-spa-elementor' ),
'section' => 'beauty_spa_elementor_blog_post',
'default' => '1',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'toggle',
'settings' => 'beauty_spa_elementor_comment_hide',
'label' => esc_html__( 'Enable / Disable Post Comment', 'beauty-spa-elementor' ),
'section' => 'beauty_spa_elementor_blog_post',
'default' => '1',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'beauty_spa_elementor_length_setting_heading',
'section' => 'beauty_spa_elementor_blog_post',
'default' => '' . __( 'Blog Post Content Limit', 'beauty-spa-elementor' ) . '
',
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'number',
'settings' => 'beauty_spa_elementor_length_setting',
'section' => 'beauty_spa_elementor_blog_post',
'default' => '15',
'priority' => 10,
'choices' => [
'min' => -10,
'max' => 40,
'step' => 1,
],
] );
// FOOTER SECTION
Kirki::add_section( 'beauty_spa_elementor_footer_section', array(
'title' => esc_html__( 'Footer Settings', 'beauty-spa-elementor' ),
'description' => esc_html__( 'Here you can change copyright text', 'beauty-spa-elementor' ),
'priority' => 160,
) );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'beauty_spa_elementor_footer_text_heading',
'section' => 'beauty_spa_elementor_footer_section',
'default' => '' . __( 'Footer Copyright Text', 'beauty-spa-elementor' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'text',
'settings' => 'beauty_spa_elementor_footer_text',
'section' => 'beauty_spa_elementor_footer_section',
'default' => '',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'custom',
'settings' => 'beauty_spa_elementor_footer_enable_heading',
'section' => 'beauty_spa_elementor_footer_section',
'default' => '' . __( 'Enable / Disable Footer Link', 'beauty-spa-elementor' ) . '
',
'priority' => 10,
] );
Kirki::add_field( 'theme_config_id', [
'type' => 'switch',
'settings' => 'beauty_spa_elementor_copyright_enable',
'label' => esc_html__( 'Section Enable / Disable', 'beauty-spa-elementor' ),
'section' => 'beauty_spa_elementor_footer_section',
'default' => '1',
'priority' => 10,
'choices' => [
'on' => esc_html__( 'Enable', 'beauty-spa-elementor' ),
'off' => esc_html__( 'Disable', 'beauty-spa-elementor' ),
],
] );
}