Viewing File: /home/maglabs/bambinos/wp-content/themes/juliette/inc/customizer/backend/header/page_header.php
<?php
$sep_id = 6477;
$section = 'page_header';
Kirki::add_field( 'juliette', array(
'type' => 'radio-buttonset',
'settings' => 'page_header_style',
'label' => esc_html__( 'Page Header Style', 'juliette' ),
'section' => $section,
'default' => 'mini',
'priority' => 10,
'choices' => array(
'mini' => esc_html__( 'Mini', 'juliette' ),
'large' => esc_html__( 'Large', 'juliette' ),
),
) );
// ---------------------------------------------
Kirki::add_field( 'juliette', array(
'type' => 'separator',
'settings' => 'separator_'. $sep_id++,
'section' => $section,
) );
// ---------------------------------------------
Kirki::add_field( 'juliette', array(
'type' => 'image',
'settings' => 'page_header_background_image',
'label' => esc_html__( 'Background Image', 'juliette' ),
'section' => $section,
'priority' => 10,
'active_callback' => array(
array(
'setting' => 'page_header_style',
'operator' => '==',
'value' => 'large',
),
),
) );
// ---------------------------------------------
Kirki::add_field( 'juliette', array(
'type' => 'separator',
'settings' => 'separator_'. $sep_id++,
'section' => $section,
'active_callback' => array(
array(
'setting' => 'page_header_style',
'operator' => '==',
'value' => 'large',
),
),
) );
// ---------------------------------------------
Kirki::add_field( 'juliette', array(
'type' => 'color',
'settings' => 'pager_header_background_color',
'label' => esc_html__( 'Page Header Background Color', 'juliette' ),
'section' => $section,
'default' => '#F6F6F6',
'priority' => 10,
'active_callback' => array(
array(
'setting' => 'page_header_style',
'operator' => '==',
'value' => 'large',
),
),
) );
// ---------------------------------------------
Kirki::add_field( 'juliette', array(
'type' => 'separator',
'settings' => 'separator_'. $sep_id++,
'section' => $section,
'active_callback' => array(
array(
'setting' => 'page_header_style',
'operator' => '==',
'value' => 'large',
),
),
) );
// ---------------------------------------------
Kirki::add_field( 'juliette', array(
'type' => 'color',
'settings' => 'pager_header_font_color',
'label' => esc_html__( 'Page Header Font Color', 'juliette' ),
'section' => $section,
'default' => '#616161',
'priority' => 10,
'active_callback' => array(
array(
'setting' => 'page_header_style',
'operator' => '==',
'value' => 'large',
),
),
) );
// ---------------------------------------------
Kirki::add_field( 'juliette', array(
'type' => 'separator',
'settings' => 'separator_'. $sep_id++,
'section' => $section,
'active_callback' => array(
array(
'setting' => 'page_header_style',
'operator' => '==',
'value' => 'large',
),
),
) );
// ---------------------------------------------
Kirki::add_field( 'juliette', array(
'type' => 'color',
'settings' => 'pager_header_heading_color',
'label' => esc_html__( 'Page Header Heading Color', 'juliette' ),
'section' => $section,
'default' => '#000',
'priority' => 10,
'active_callback' => array(
array(
'setting' => 'page_header_style',
'operator' => '==',
'value' => 'large',
),
),
) );
// ---------------------------------------------
Kirki::add_field( 'juliette', array(
'type' => 'separator',
'settings' => 'separator_'. $sep_id++,
'section' => $section,
'active_callback' => array(
array(
'setting' => 'page_header_style',
'operator' => '==',
'value' => 'large',
),
),
) );
// ---------------------------------------------
Kirki::add_field( 'juliette', array(
'type' => 'toggle',
'settings' => 'page_header_breadcrumb_toggle',
'label' => esc_html__( 'Site Breadcrumb', 'juliette' ),
'section' => $section,
'default' => 1,
'priority' => 10,
'choices' => array(
'on' => esc_html__( 'On', 'juliette' ),
'off' => esc_html__( 'Off', 'juliette' ),
),
) );
// ---------------------------------------------
Back to Directory
File Manager