Viewing File: /home/maglabs/bambinos/wp-content/themes/juliette/inc/customizer/backend/social-share/index.php
<?php
// ============================================
// Panel
// ============================================
// no panel
// ============================================
// Sections
// ============================================
Kirki::add_section( 'social_share', array(
'title' => esc_html__( 'Social Share', 'juliette' ),
'priority' => 65,
'capability' => 'edit_theme_options',
) );
// ============================================
// Controls
// ============================================
$sep_id = 98495;
$section = 'social_share';
Kirki::add_field( 'juliette', array(
'type' => 'switch',
'settings' => 'sharing_facebook',
'label' => esc_html__( 'Facebook', 'juliette' ),
'section' => $section,
'default' => 'on',
'priority' => 10,
'choices' => array(
'on' => esc_html__( 'Enable', 'juliette' ),
'off' => esc_html__( 'Disable', 'juliette' ),
),
) );
Kirki::add_field( 'juliette', array(
'type' => 'switch',
'settings' => 'sharing_twitter',
'label' => esc_html__( 'Twitter', 'juliette' ),
'section' => $section,
'default' => 'on',
'priority' => 10,
'choices' => array(
'on' => esc_html__( 'Enable', 'juliette' ),
'off' => esc_html__( 'Disable', 'juliette' ),
),
) );
Kirki::add_field( 'juliette', array(
'type' => 'switch',
'settings' => 'sharing_reddit',
'label' => esc_html__( 'Reddit', 'juliette' ),
'section' => $section,
'default' => 'off',
'priority' => 10,
'choices' => array(
'on' => esc_html__( 'Enable', 'juliette' ),
'off' => esc_html__( 'Disable', 'juliette' ),
),
) );
Kirki::add_field( 'juliette', array(
'type' => 'switch',
'settings' => 'sharing_linkedin',
'label' => esc_html__( 'Linkedin', 'juliette' ),
'section' => $section,
'default' => 'on',
'priority' => 10,
'choices' => array(
'on' => esc_html__( 'Enable', 'juliette' ),
'off' => esc_html__( 'Disable', 'juliette' ),
),
) );
Kirki::add_field( 'juliette', array(
'type' => 'switch',
'settings' => 'sharing_tumblr',
'label' => esc_html__( 'Tumblr', 'juliette' ),
'section' => $section,
'default' => 'on',
'priority' => 10,
'choices' => array(
'on' => esc_html__( 'Enable', 'juliette' ),
'off' => esc_html__( 'Disable', 'juliette' ),
),
) );
Kirki::add_field( 'juliette', array(
'type' => 'switch',
'settings' => 'sharing_pinterest',
'label' => esc_html__( 'Pinterest', 'juliette' ),
'section' => $section,
'default' => 'on',
'priority' => 10,
'choices' => array(
'on' => esc_html__( 'Enable', 'juliette' ),
'off' => esc_html__( 'Disable', 'juliette' ),
),
) );
Kirki::add_field( 'juliette', array(
'type' => 'switch',
'settings' => 'sharing_line',
'label' => esc_html__( 'Line', 'juliette' ),
'section' => $section,
'default' => 'off',
'priority' => 10,
'choices' => array(
'on' => esc_html__( 'Enable', 'juliette' ),
'off' => esc_html__( 'Disable', 'juliette' ),
),
) );
Kirki::add_field( 'juliette', array(
'type' => 'switch',
'settings' => 'sharing_vk',
'label' => esc_html__( 'VK', 'juliette' ),
'section' => $section,
'default' => 'off',
'priority' => 10,
'choices' => array(
'on' => esc_html__( 'Enable', 'juliette' ),
'off' => esc_html__( 'Disable', 'juliette' ),
),
) );
Kirki::add_field( 'juliette', array(
'type' => 'switch',
'settings' => 'sharing_whatapps',
'label' => esc_html__( 'Whatapps', 'juliette' ),
'section' => $section,
'default' => 'off',
'priority' => 10,
'choices' => array(
'on' => esc_html__( 'Enable', 'juliette' ),
'off' => esc_html__( 'Disable', 'juliette' ),
),
) );
Kirki::add_field( 'juliette', array(
'type' => 'switch',
'settings' => 'sharing_telegram',
'label' => esc_html__( 'Telegram', 'juliette' ),
'section' => $section,
'default' => 'off',
'priority' => 10,
'choices' => array(
'on' => esc_html__( 'Enable', 'juliette' ),
'off' => esc_html__( 'Disable', 'juliette' ),
),
) );
Kirki::add_field( 'juliette', array(
'type' => 'switch',
'settings' => 'sharing_email',
'label' => esc_html__( 'Email', 'juliette' ),
'section' => $section,
'default' => 'off',
'priority' => 10,
'choices' => array(
'on' => esc_html__( 'Enable', 'juliette' ),
'off' => esc_html__( 'Disable', 'juliette' ),
),
) );
Back to Directory
File Manager