Footer > Footer Settings
*
* @package Aryx
*/
/*
* Footer Settings Section Fields
*
*/
/* Footer Layout Separator */
Kirki::add_field( 'aryx_config_kirki', array(
'type' => 'custom',
'settings' => 'aryx_f_footer_layout_separator_s_primary_menu_p_header',
'label' => '
'.esc_html__( 'Footer Layout', 'aryx' ).'
',
'section' => 'aryx_s_footer_settings_p_footer',
'priority' => 10,
) );
/* Footer Layout */
Kirki::add_field( 'aryx_config_kirki', [
'type' => 'radio-image',
'settings' => 'aryx_f_footer_layout_s_footer_settings_p_footer',
'label' => esc_html__( 'Footer Layout', 'aryx' ),
'section' => 'aryx_s_footer_settings_p_footer',
'default' => 'both',
'priority' => 20,
'choices' => [
'both' => get_template_directory_uri() . '/assets/images/customizer/both-footer.png',
'top' => get_template_directory_uri() . '/assets/images/customizer/only-footer-widget.png',
'bottom' => get_template_directory_uri() . '/assets/images/customizer/only-footer-bar.png',
'none' => get_template_directory_uri() . '/assets/images/customizer/no-footer.png',
],
] );
/* Footer Widget Separator */
Kirki::add_field( 'aryx_config_kirki', array(
'type' => 'custom',
'settings' => 'aryx_f_footer_widget_separator_s_primary_menu_p_header',
'label' => ''.esc_html__( 'Footer Widget Settings', 'aryx' ).'
',
'section' => 'aryx_s_footer_settings_p_footer',
'priority' => 30,
) );
/* Footer Widget Area Width */
Kirki::add_field( 'aryx_config_kirki', [
'type' => 'select',
'settings' => 'aryx_f_footer_widget_width_s_footer_settings_p_footer',
'label' => esc_html__( 'Footer Widget Width', 'aryx' ),
'section' => 'aryx_s_footer_settings_p_footer',
'default' => 'container-width',
'priority' => 40,
'multiple' => 0,
'choices' => [
'container-width' => esc_html__( 'Container Width', 'aryx' ),
'full-width' => esc_html__( 'Full Width', 'aryx' ),
'fixed-width' => esc_html__( 'Fixed Width', 'aryx' )
],
] );
/* Footer Widget Background */
Kirki::add_field( 'aryx_config_kirki', [
'type' => 'background',
'settings' => 'aryx_f_footer_widget_background_s_footer_settings_p_footer',
'label' => esc_html__( 'Footer Widget Background', 'aryx' ),
'section' => 'aryx_s_footer_settings_p_footer',
'default' => [
'background-color' => '#ffffff',
'background-image' => '',
'background-repeat' => 'no-repeat',
'background-position' => 'center center',
'background-size' => 'cover',
'background-attachment' => 'initial',
],
'transport' => 'auto',
'output' => [
[
'element' => '.footer-widget-area',
],
],
'priority' => 50,
] );
/* Footer Widget Top Border */
Kirki::add_field( 'aryx_config_kirki', [
'type' => 'toggle',
'settings' => 'aryx_f_footer_widget_top_border_s_footer_settings_p_footer',
'label' => esc_html__( 'Footer Widget Top Border', 'aryx' ),
'section' => 'aryx_s_footer_settings_p_footer',
'default' => true,
'priority' => 60,
] );
/* Footer Bar Separator */
Kirki::add_field( 'aryx_config_kirki', array(
'type' => 'custom',
'settings' => 'aryx_f_footer_bar_separator_s_primary_menu_p_header',
'label' => ''.esc_html__( 'Footer Bar Settings', 'aryx' ).'
',
'section' => 'aryx_s_footer_settings_p_footer',
'priority' => 70,
) );
/* Footer Bar Area Width */
Kirki::add_field( 'aryx_config_kirki', [
'type' => 'select',
'settings' => 'aryx_f_footer_bar_width_s_footer_settings_p_footer',
'label' => esc_html__( 'Footer Bar Width', 'aryx' ),
'section' => 'aryx_s_footer_settings_p_footer',
'default' => 'container-width',
'priority' => 80,
'multiple' => 0,
'choices' => [
'container-width' => esc_html__( 'Container Width', 'aryx' ),
'full-width' => esc_html__( 'Full Width', 'aryx' ),
'fixed-width' => esc_html__( 'Fixed Width', 'aryx' )
],
] );
/* Footer Bar Background */
Kirki::add_field( 'aryx_config_kirki', [
'type' => 'background',
'settings' => 'aryx_f_footer_bar_background_s_footer_settings_p_footer',
'label' => esc_html__( 'Footer Bar Background', 'aryx' ),
'section' => 'aryx_s_footer_settings_p_footer',
'default' => [
'background-color' => '#ffffff',
'background-image' => '',
'background-repeat' => 'no-repeat',
'background-position' => 'center center',
'background-size' => 'cover',
'background-attachment' => 'initial',
],
'transport' => 'auto',
'output' => [
[
'element' => '.site-info-area',
],
],
'priority' => 90,
] );
/* Footer Bar Top Border */
Kirki::add_field( 'aryx_config_kirki', [
'type' => 'toggle',
'settings' => 'aryx_f_footer_bar_top_border_s_footer_settings_p_footer',
'label' => esc_html__( 'Footer Bar Top Border', 'aryx' ),
'section' => 'aryx_s_footer_settings_p_footer',
'default' => false,
'priority' => 100,
] );