esc_html__( 'Footer Section', 'author-portfolio' ),
'panel' => 'author_portfolio_global_panel',
'capability' => 'edit_theme_options',
) );
Kirki::add_field( 'author_portfolio_config', array(
'type' => 'custom',
'settings' => 'separator_before_footer_top_section',
'label' => '',
'section' => 'footer_section',
'default' => '
'.esc_html__('Footer Top Section').'
',
) );
Kirki::add_field( 'author_portfolio_config', [
'type' => 'toggle',
'settings' => 'show_footer_top_section',
'label' => esc_html__( 'Show Footer Top Section', 'author-portfolio' ),
'section' => 'footer_section',
'default' => '1',
] );
Kirki::add_field( 'author_portfolio_config', [
'type' => 'select',
'settings' => 'footer_column',
'label' => esc_html__( 'Footer Column', 'author-portfolio' ),
'section' => 'footer_section',
'active_callback' => [
[
'setting' => 'footer_layout',
'operator' => '==',
'value' => 'one',
]
],
'default' => '4/4/4',
'choices' => array(
'4/4/4' => __( '4/4/4', 'author-portfolio' ),
'3/3/3/3' => __( '3/3/3/3', 'author-portfolio' ),
'3/6/3' => __( '3/6/3', 'author-portfolio' ),
),
] );
Kirki::add_field( 'author_portfolio_config', array(
'type' => 'custom',
'settings' => 'separator_before_footer_bottom_section',
'label' => '',
'section' => 'footer_section',
'default' => ''.esc_html__('Footer Bottom Section').'
',
) );
Kirki::add_field( 'author_portfolio_config', [
'type' => 'toggle',
'settings' => 'show_footer_bottom_section',
'label' => esc_html__( 'Show Footer Bottom Section', 'author-portfolio' ),
'section' => 'footer_section',
'default' => '1',
] );
Kirki::add_field( 'author_portfolio_config', [
'type' => 'toggle',
'settings' => 'show_footer_logo',
'label' => esc_html__( 'Show Footer Logo', 'author-portfolio' ),
'section' => 'footer_section',
'default' => '1',
] );
Kirki::add_field( 'author_portfolio_config', [
'type' => 'image',
'settings' => 'footer_logo',
'label' => __( 'Upload Footer Logo', 'author-portfolio' ),
'section' => 'footer_section',
'default' => '',
'transport' => 'refresh',
'choices' => [
'save_as' => 'id',
],
] );
Kirki::add_field( 'author_portfolio_config', [
'type' => 'toggle',
'settings' => 'show_footer_menu',
'label' => esc_html__( 'Show Footer Menu', 'author-portfolio' ),
'section' => 'footer_section',
'default' => '1',
] );
Kirki::add_field( 'author_portfolio_config', [
'type' => 'toggle',
'settings' => 'show_footer_social_links',
'label' => esc_html__( 'Show Footer Social Links', 'author-portfolio' ),
'section' => 'footer_section',
'default' => '1',
] );