📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: LiteSpeed
2026-06-28 10:22:13
📂
/ (Root)
/
home
/
apkbfjox
/
joygame.com.pk
/
wp-content
/
plugins
/
kadence-pro
/
dist
/
header-addons
📍 /home/apkbfjox/joygame.com.pk/wp-content/plugins/kadence-pro/dist/header-addons
🔄 Refresh
✏️
Editing: header-mobile-account-options.php
Writable
<?php /** * Header Account Options. * * @package Kadence_Pro */ namespace Kadence_Pro; use Kadence\Theme_Customizer; use function Kadence\kadence; $settings = array( 'header_mobile_account_tabs' => array( 'control_type' => 'kadence_tab_control', 'section' => 'header_mobile_account', 'settings' => false, 'priority' => 1, 'input_attrs' => array( 'general' => array( 'label' => __( 'General', 'kadence-pro' ), 'target' => 'header_mobile_account', ), 'design' => array( 'label' => __( 'Design', 'kadence-pro' ), 'target' => 'header_mobile_account_design', ), 'active' => 'general', ), ), 'header_mobile_account_tabs_design' => array( 'control_type' => 'kadence_tab_control', 'section' => 'header_mobile_account_design', 'settings' => false, 'priority' => 1, 'input_attrs' => array( 'general' => array( 'label' => __( 'General', 'kadence-pro' ), 'target' => 'header_mobile_account', ), 'design' => array( 'label' => __( 'Design', 'kadence-pro' ), 'target' => 'header_mobile_account_design', ), 'active' => 'design', ), ), 'header_mobile_account_preview' => array( 'control_type' => 'kadence_radio_icon_control', 'section' => 'header_mobile_account', 'default' => kadence()->default( 'header_mobile_account_preview' ), 'label' => esc_html__( 'Preview/Customize', 'kadence-pro' ), 'transport' => 'refresh', 'input_attrs' => array( 'layout' => array( 'in' => array( 'name' => __( 'Logged in view', 'kadence-pro' ), ), 'out' => array( 'name' => __( 'Logged out view', 'kadence-pro' ), ), ), 'responsive' => false, 'class' => 'kadence-two-forced', ), ), 'info_header_mobile_account_logged_out' => array( 'control_type' => 'kadence_title_control', 'section' => 'header_mobile_account', 'label' => esc_html__( 'Logged Out Options', 'kadence-pro' ), 'settings' => false, 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'out', ), ), ), 'header_mobile_account_style' => array( 'control_type' => 'kadence_radio_icon_control', 'section' => 'header_mobile_account', 'default' => kadence()->default( 'header_mobile_account_style' ), 'label' => esc_html__( 'Account Style', 'kadence-pro' ), 'partial' => array( 'selector' => '.header-mobile-account-wrap', 'container_inclusive' => true, 'render_callback' => 'Kadence_Pro\header_mobile_account', ), 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'out', ), ), 'input_attrs' => array( 'layout' => array( 'label' => array( 'name' => __( 'Label', 'kadence-pro' ), ), 'icon' => array( 'name' => __( 'Icon', 'kadence-pro' ), ), 'label_icon' => array( 'name' => __( 'Label + Icon', 'kadence-pro' ), ), 'icon_label' => array( 'name' => __( 'Icon + Label', 'kadence-pro' ), ), ), 'responsive' => false, 'class' => 'kadence-two-forced', ), ), 'header_mobile_account_label' => array( 'control_type' => 'kadence_text_control', 'sanitize' => 'sanitize_text_field', 'section' => 'header_mobile_account', 'default' => kadence()->default( 'header_mobile_account_label' ), 'label' => esc_html__( 'Account Label', 'kadence-pro' ), 'live_method' => array( array( 'type' => 'html', 'selector' => '.header-mobile-account-in-wrap .header-account-label', 'pattern' => '$', 'key' => '', ), ), 'context' => array( array( 'setting' => 'header_mobile_account_style', 'operator' => 'contain', 'value' => 'label', ), array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'out', ), ), ), 'header_mobile_account_icon' => array( 'control_type' => 'kadence_radio_icon_control', 'section' => 'header_mobile_account', 'default' => kadence()->default( 'header_mobile_account_icon' ), 'label' => esc_html__( 'Account Icon', 'kadence-pro' ), 'partial' => array( 'selector' => '.header-mobile-account-wrap', 'container_inclusive' => true, 'render_callback' => 'Kadence_Pro\header_mobile_account', ), 'context' => array( array( 'setting' => 'header_mobile_account_style', 'operator' => 'contain', 'value' => 'icon', ), array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'out', ), ), 'input_attrs' => array( 'layout' => array( 'account' => array( 'icon' => 'account', ), 'account2' => array( 'icon' => 'account2', ), 'account3' => array( 'icon' => 'account3', ), ), 'responsive' => false, ), ), 'header_mobile_account_action' => array( 'control_type' => 'kadence_radio_icon_control', 'section' => 'header_mobile_account', 'default' => kadence()->default( 'header_mobile_account_action' ), 'label' => esc_html__( 'Account Action', 'kadence-pro' ), 'transport' => 'refresh', 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'out', ), ), 'input_attrs' => array( 'layout' => array( 'link' => array( 'name' => __( 'Link', 'kadence-pro' ), ), 'modal' => array( 'name' => __( 'Modal Login', 'kadence-pro' ), ), ), 'responsive' => false, 'class' => 'kadence-two-forced', ), ), 'header_mobile_account_modal_registration' => array( 'control_type' => 'kadence_switch_control', 'section' => 'header_mobile_account', 'context' => array( array( 'setting' => 'header_mobile_account_action', 'operator' => '=', 'value' => 'modal', ), array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'out', ), ), 'default' => kadence()->default( 'header_mobile_account_modal_registration' ), 'label' => esc_html__( 'Show registration link below login?', 'kadence-pro' ), 'transport' => 'refresh', ), 'header_account_modal_registration_link' => array( 'control_type' => 'kadence_text_control', 'sanitize' => 'esc_url_raw', 'section' => 'header_mobile_account', 'label' => esc_html__( 'Registration Link', 'kadence-pro' ), 'default' => kadence()->default( 'header_account_modal_registration_link' ), 'priority' => 20, 'partial' => array( 'selector' => '.header-mobile-account-wrap', 'container_inclusive' => true, 'render_callback' => 'Kadence_Pro\header_mobile_account', ), 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'out', ), array( 'setting' => 'header_mobile_account_action', 'operator' => '=', 'value' => 'modal', ), array( 'setting' => 'header_mobile_account_modal_registration', 'operator' => '=', 'value' => true, ), ), ), 'header_mobile_account_link' => array( 'control_type' => 'kadence_text_control', 'section' => 'header_mobile_account', 'sanitize' => 'esc_url_raw', 'label' => esc_html__( 'Account Item Link', 'kadence-pro' ), 'default' => kadence()->default( 'header_mobile_account_link' ), 'partial' => array( 'selector' => '.header-mobile-account-wrap', 'container_inclusive' => true, 'render_callback' => 'Kadence_Pro\header_mobile_account', ), 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'out', ), array( 'setting' => 'header_mobile_account_action', 'operator' => '!=', 'value' => 'modal', ), ), ), 'info_header_mobile_account_design_logged_out' => array( 'control_type' => 'kadence_title_control', 'section' => 'header_mobile_account_design', 'label' => esc_html__( 'Logged Out Options', 'kadence-pro' ), 'settings' => false, 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'out', ), ), ), 'header_mobile_account_icon_size' => array( 'control_type' => 'kadence_range_control', 'section' => 'header_mobile_account_design', 'label' => esc_html__( 'Icon Size', 'kadence-pro' ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.header-mobile-account-wrap .header-account-button .nav-drop-title-wrap > .kadence-svg-iconset, .header-mobile-account-wrap .header-account-button > .kadence-svg-iconset', 'property' => 'font-size', 'pattern' => '$', 'key' => 'size', ), ), 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'out', ), array( 'setting' => 'header_mobile_account_style', 'operator' => 'contain', 'value' => 'icon', ), ), 'default' => kadence()->default( 'header_mobile_account_icon_size' ), 'input_attrs' => array( 'min' => array( 'px' => 0, 'em' => 0, 'rem' => 0, ), 'max' => array( 'px' => 100, 'em' => 12, 'rem' => 12, ), 'step' => array( 'px' => 1, 'em' => 0.01, 'rem' => 0.01, ), 'units' => array( 'px', 'em', 'rem' ), 'responsive' => false, ), ), 'header_mobile_account_color' => array( 'control_type' => 'kadence_color_control', 'section' => 'header_mobile_account_design', 'label' => esc_html__( 'Account Colors', 'kadence-pro' ), 'default' => kadence()->default( 'header_mobile_account_color' ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.header-mobile-account-wrap .header-account-button', 'property' => 'color', 'pattern' => '$', 'key' => 'color', ), array( 'type' => 'css', 'selector' => '.header-mobile-account-wrap .header-account-button:hover', 'property' => 'color', 'pattern' => '$', 'key' => 'hover', ), ), 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'out', ), ), 'input_attrs' => array( 'colors' => array( 'color' => array( 'tooltip' => __( 'Initial Color', 'kadence-pro' ), 'palette' => true, ), 'hover' => array( 'tooltip' => __( 'Hover Color', 'kadence-pro' ), 'palette' => true, ), ), ), ), 'header_mobile_account_background' => array( 'control_type' => 'kadence_color_control', 'section' => 'header_mobile_account_design', 'label' => esc_html__( 'Account Background', 'kadence-pro' ), 'default' => kadence()->default( 'header_mobile_account_background' ), 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'out', ), ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.header-mobile-account-wrap .header-account-button', 'property' => 'background', 'pattern' => '$', 'key' => 'color', ), array( 'type' => 'css', 'selector' => '.header-mobile-account-wrap .header-account-button:hover', 'property' => 'background', 'pattern' => '$', 'key' => 'hover', ), ), 'input_attrs' => array( 'colors' => array( 'color' => array( 'tooltip' => __( 'Initial Background', 'kadence-pro' ), 'palette' => true, ), 'hover' => array( 'tooltip' => __( 'Hover Background', 'kadence-pro' ), 'palette' => true, ), ), ), ), 'header_mobile_account_radius' => array( 'control_type' => 'kadence_measure_control', 'section' => 'header_mobile_account_design', 'default' => kadence()->default( 'header_mobile_account_radius' ), 'label' => esc_html__( 'Border Radius', 'kadence-pro' ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.header-mobile-account-wrap .header-account-button', 'property' => 'border-radius', 'pattern' => '$', 'key' => 'measure', ), ), 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'out', ), ), 'input_attrs' => array( 'responsive' => false, ), ), 'header_mobile_account_typography' => array( 'control_type' => 'kadence_typography_control', 'section' => 'header_mobile_account_design', 'label' => esc_html__( 'Label Font', 'kadence-pro' ), 'default' => kadence()->default( 'header_mobile_account_typography' ), 'context' => array( array( 'setting' => 'header_mobile_account_style', 'operator' => 'contain', 'value' => 'label', ), array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'out', ), ), 'live_method' => array( array( 'type' => 'css_typography', 'selector' => '.header-mobile-account-wrap .header-account-button .header-account-label', 'pattern' => array( 'desktop' => '$', 'tablet' => '$', 'mobile' => '$', ), 'property' => 'font', 'key' => 'typography', ), ), 'input_attrs' => array( 'id' => 'header_mobile_account_typography', 'options' => 'no-color', ), ), 'header_mobile_account_padding' => array( 'control_type' => 'kadence_measure_control', 'section' => 'header_mobile_account_design', 'default' => kadence()->default( 'header_mobile_account_padding' ), 'label' => esc_html__( 'Padding', 'kadence-pro' ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.header-mobile-account-wrap .header-account-button', 'property' => 'padding', 'pattern' => '$', 'key' => 'measure', ), ), 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'out', ), ), 'input_attrs' => array( 'responsive' => false, ), ), 'header_mobile_account_margin' => array( 'control_type' => 'kadence_measure_control', 'section' => 'header_mobile_account_design', 'default' => kadence()->default( 'header_mobile_account_margin' ), 'label' => esc_html__( 'Margin', 'kadence-pro' ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.header-mobile-account-wrap', 'property' => 'margin', 'pattern' => '$', 'key' => 'measure', ), ), 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'out', ), ), 'input_attrs' => array( 'responsive' => false, ), ), 'info_header_mobile_account_logged_in' => array( 'control_type' => 'kadence_title_control', 'section' => 'header_mobile_account', 'label' => esc_html__( 'Logged In Options', 'kadence-pro' ), 'settings' => false, 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'in', ), ), ), 'header_mobile_account_in_style' => array( 'control_type' => 'kadence_radio_icon_control', 'section' => 'header_mobile_account', 'default' => kadence()->default( 'header_mobile_account_in_style' ), 'label' => esc_html__( 'Account Style', 'kadence-pro' ), 'partial' => array( 'selector' => '.header-mobile-account-in-wrap', 'container_inclusive' => true, 'render_callback' => 'Kadence_Pro\header_mobile_account', ), 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'in', ), ), 'input_attrs' => array( 'layout' => array( 'label' => array( 'name' => __( 'Label', 'kadence-pro' ), ), 'icon' => array( 'name' => __( 'Icon', 'kadence-pro' ), ), 'label_icon' => array( 'name' => __( 'Label + Icon', 'kadence-pro' ), ), 'icon_label' => array( 'name' => __( 'Icon + Label', 'kadence-pro' ), ), 'user_label' => array( 'name' => __( 'Avatar + Label', 'kadence-pro' ), ), 'label_user' => array( 'name' => __( 'Label + Avatar', 'kadence-pro' ), ), 'user_name' => array( 'name' => __( 'Avatar + User Name', 'kadence-pro' ), ), 'name_user' => array( 'name' => __( 'User Name + Avatar', 'kadence-pro' ), ), 'icon_name' => array( 'name' => __( 'Icon + User Name', 'kadence-pro' ), ), 'name_icon' => array( 'name' => __( 'User Name + Icon', 'kadence-pro' ), ), ), 'responsive' => false, 'class' => 'kadence-two-forced', ), ), 'header_mobile_account_in_label' => array( 'control_type' => 'kadence_text_control', 'sanitize' => 'sanitize_text_field', 'section' => 'header_mobile_account', 'default' => kadence()->default( 'header_mobile_account_in_label' ), 'label' => esc_html__( 'Account Label', 'kadence-pro' ), 'context' => array( array( 'setting' => 'header_mobile_account_in_style', 'operator' => 'contain', 'value' => 'label', ), array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'in', ), ), 'live_method' => array( array( 'type' => 'html', 'selector' => '.header-mobile-account-in-wrap .header-account-label', 'pattern' => '$', 'key' => '', ), ), ), 'header_mobile_account_in_icon' => array( 'control_type' => 'kadence_radio_icon_control', 'section' => 'header_mobile_account', 'default' => kadence()->default( 'header_mobile_account_in_icon' ), 'label' => esc_html__( 'Account Icon', 'kadence-pro' ), 'partial' => array( 'selector' => '.header-mobile-account-in-wrap', 'container_inclusive' => true, 'render_callback' => 'Kadence_Pro\header_mobile_account', ), 'context' => array( array( 'setting' => 'header_mobile_account_in_style', 'operator' => 'contain', 'value' => 'icon', ), array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'in', ), ), 'input_attrs' => array( 'layout' => array( 'account' => array( 'icon' => 'account', ), 'account2' => array( 'icon' => 'account2', ), 'account3' => array( 'icon' => 'account3', ), ), 'responsive' => false, ), ), // 'header_mobile_account_in_action' => array( // 'control_type' => 'kadence_radio_icon_control', // 'section' => 'header_mobile_account', // 'default' => kadence()->default( 'header_mobile_account_in_action' ), // 'label' => esc_html__( 'Account Action', 'kadence-pro' ), // 'transport' => 'refresh', // 'context' => array( // array( // 'setting' => 'header_mobile_account_preview', // 'operator' => '=', // 'value' => 'in', // ), // ), // 'input_attrs' => array( // 'layout' => array( // 'link' => array( // 'name' => __( 'Link', 'kadence-pro' ), // ), // ), // 'responsive' => false, // 'class' => 'kadence-two-forced', // ), // ), 'header_mobile_account_in_link' => array( 'control_type' => 'kadence_text_control', 'section' => 'header_mobile_account', 'sanitize' => 'esc_url_raw', 'label' => esc_html__( 'Account Item Link', 'kadence-pro' ), 'default' => kadence()->default( 'header_mobile_account_in_link' ), 'partial' => array( 'selector' => '.header-mobile-account-in-wrap', 'container_inclusive' => true, 'render_callback' => 'Kadence_Pro\header_mobile_account', ), 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'in', ), ), ), 'info_header_mobile_account_design_logged_in' => array( 'control_type' => 'kadence_title_control', 'section' => 'header_mobile_account_design', 'label' => esc_html__( 'Logged In Options', 'kadence-pro' ), 'settings' => false, 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'in', ), ), ), 'header_mobile_account_in_icon_size' => array( 'control_type' => 'kadence_range_control', 'section' => 'header_mobile_account_design', 'label' => esc_html__( 'Icon/Image Size', 'kadence-pro' ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.header-mobile-account-in-wrap .header-account-button .nav-drop-title-wrap > .kadence-svg-iconset, .header-mobile-account-in-wrap .header-account-button > .kadence-svg-iconset', 'property' => 'font-size', 'pattern' => '$', 'key' => 'size', ), array( 'type' => 'css', 'selector' => '.header-mobile-account-in-wrap .header-account-avatar', 'property' => 'width', 'pattern' => '$', 'key' => 'size', ), ), 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'in', ), ), 'default' => kadence()->default( 'header_mobile_account_in_icon_size' ), 'input_attrs' => array( 'min' => array( 'px' => 0, 'em' => 0, 'rem' => 0, ), 'max' => array( 'px' => 100, 'em' => 12, 'rem' => 12, ), 'step' => array( 'px' => 1, 'em' => 0.01, 'rem' => 0.01, ), 'units' => array( 'px', 'em', 'rem' ), 'responsive' => false, ), ), 'header_mobile_account_in_image_radius' => array( 'control_type' => 'kadence_measure_control', 'section' => 'header_mobile_account_design', 'default' => kadence()->default( 'header_mobile_account_in_image_radius' ), 'label' => esc_html__( 'Avatar Border Radius', 'kadence-pro' ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.header-mobile-account-in-wrap .header-account-avatar', 'property' => 'border-radius', 'pattern' => '$', 'key' => 'measure', ), ), 'input_attrs' => array( 'responsive' => false, ), 'context' => array( array( 'setting' => 'header_mobile_account_in_style', 'operator' => 'contain', 'value' => 'user', ), array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'in', ), ), ), 'header_mobile_account_in_color' => array( 'control_type' => 'kadence_color_control', 'section' => 'header_mobile_account_design', 'label' => esc_html__( 'Account Colors', 'kadence-pro' ), 'default' => kadence()->default( 'header_mobile_account_in_color' ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.header-mobile-account-in-wrap .header-account-button', 'property' => 'color', 'pattern' => '$', 'key' => 'color', ), array( 'type' => 'css', 'selector' => '.header-mobile-account-in-wrap .header-account-button:hover', 'property' => 'color', 'pattern' => '$', 'key' => 'hover', ), ), 'input_attrs' => array( 'colors' => array( 'color' => array( 'tooltip' => __( 'Initial Color', 'kadence-pro' ), 'palette' => true, ), 'hover' => array( 'tooltip' => __( 'Hover Color', 'kadence-pro' ), 'palette' => true, ), ), ), 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'in', ), ), ), 'header_mobile_account_in_background' => array( 'control_type' => 'kadence_color_control', 'section' => 'header_mobile_account_design', 'label' => esc_html__( 'Account Background', 'kadence-pro' ), 'default' => kadence()->default( 'header_mobile_account_in_background' ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.header-mobile-account-in-wrap .header-account-button', 'property' => 'background', 'pattern' => '$', 'key' => 'color', ), array( 'type' => 'css', 'selector' => '.header-mobile-account-in-wrap .header-account-button:hover', 'property' => 'background', 'pattern' => '$', 'key' => 'hover', ), ), 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'in', ), ), 'input_attrs' => array( 'colors' => array( 'color' => array( 'tooltip' => __( 'Initial Background', 'kadence-pro' ), 'palette' => true, ), 'hover' => array( 'tooltip' => __( 'Hover Background', 'kadence-pro' ), 'palette' => true, ), ), ), ), 'header_mobile_account_in_radius' => array( 'control_type' => 'kadence_measure_control', 'section' => 'header_mobile_account_design', 'default' => kadence()->default( 'header_mobile_account_in_radius' ), 'label' => esc_html__( 'Border Radius', 'kadence-pro' ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.header-mobile-account-in-wrap .header-account-button', 'property' => 'border-radius', 'pattern' => '$', 'key' => 'measure', ), ), 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'in', ), ), 'input_attrs' => array( 'responsive' => false, ), ), 'header_mobile_account_in_typography' => array( 'control_type' => 'kadence_typography_control', 'section' => 'header_mobile_account_design', 'label' => esc_html__( 'Label/Name Font', 'kadence-pro' ), 'default' => kadence()->default( 'header_mobile_account_in_typography' ), 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'in', ), ), 'live_method' => array( array( 'type' => 'css_typography', 'selector' => '.header-mobile-account-in-wrap .header-account-button .header-account-label', 'pattern' => array( 'desktop' => '$', 'tablet' => '$', 'mobile' => '$', ), 'property' => 'font', 'key' => 'typography', ), ), 'input_attrs' => array( 'id' => 'header_mobile_account_in_typography', 'options' => 'no-color', ), ), 'header_mobile_account_in_padding' => array( 'control_type' => 'kadence_measure_control', 'section' => 'header_mobile_account_design', 'default' => kadence()->default( 'header_mobile_account_in_padding' ), 'label' => esc_html__( 'Padding', 'kadence-pro' ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.header-mobile-account-in-wrap .header-account-button', 'property' => 'padding', 'pattern' => '$', 'key' => 'measure', ), ), 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'in', ), ), 'input_attrs' => array( 'responsive' => false, ), ), 'header_mobile_account_in_margin' => array( 'control_type' => 'kadence_measure_control', 'section' => 'header_mobile_account_design', 'default' => kadence()->default( 'header_mobile_account_in_margin' ), 'label' => esc_html__( 'Margin', 'kadence-pro' ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.header-mobile-account-in-wrap', 'property' => 'margin', 'pattern' => '$', 'key' => 'measure', ), ), 'context' => array( array( 'setting' => 'header_mobile_account_preview', 'operator' => '=', 'value' => 'in', ), ), 'input_attrs' => array( 'responsive' => false, ), ), // Mobile Trans. 'transparent_header_mobile_account_color' => array( 'control_type' => 'kadence_color_control', 'section' => 'transparent_header_design', 'label' => esc_html__( 'Logged out Account Colors', 'kadence-pro' ), 'default' => kadence()->default( 'transparent_header_mobile_account_color' ), 'context' => array( array( 'setting' => '__device', 'operator' => 'in', 'value' => array( 'mobile', 'tablet' ), ), ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.transparent-header .header-mobile-account-wrap .header-account-button', 'property' => 'color', 'pattern' => '$', 'key' => 'color', ), array( 'type' => 'css', 'selector' => '.transparent-header .header-mobile-account-wrap .header-account-button:hover', 'property' => 'color', 'pattern' => '$', 'key' => 'hover', ), ), 'input_attrs' => array( 'colors' => array( 'color' => array( 'tooltip' => __( 'Initial Color', 'kadence-pro' ), 'palette' => true, ), 'hover' => array( 'tooltip' => __( 'Hover Color', 'kadence-pro' ), 'palette' => true, ), ), ), ), 'transparent_header_mobile_account_background' => array( 'control_type' => 'kadence_color_control', 'section' => 'transparent_header_design', 'label' => esc_html__( 'Logged out Account Background', 'kadence-pro' ), 'default' => kadence()->default( 'transparent_header_mobile_account_background' ), 'context' => array( array( 'setting' => '__device', 'operator' => 'in', 'value' => array( 'mobile', 'tablet' ), ), ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.transparent-header .header-mobile-account-wrap .header-account-button', 'property' => 'background', 'pattern' => '$', 'key' => 'color', ), array( 'type' => 'css', 'selector' => '.transparent-header .header-mobile-account-wrap .header-account-button:hover', 'property' => 'background', 'pattern' => '$', 'key' => 'hover', ), ), 'input_attrs' => array( 'colors' => array( 'color' => array( 'tooltip' => __( 'Initial Background', 'kadence-pro' ), 'palette' => true, ), 'hover' => array( 'tooltip' => __( 'Hover Background', 'kadence-pro' ), 'palette' => true, ), ), ), ), 'transparent_header_mobile_account_in_color' => array( 'control_type' => 'kadence_color_control', 'section' => 'transparent_header_design', 'label' => esc_html__( 'Logged in Account Colors', 'kadence-pro' ), 'default' => kadence()->default( 'transparent_header_mobile_account_in_color' ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.mobile-transparent-header .header-mobile-account-in-wrap .header-account-button', 'property' => 'color', 'pattern' => '$', 'key' => 'color', ), array( 'type' => 'css', 'selector' => '.mobile-transparent-header .header-mobile-account-in-wrap .header-account-button:hover', 'property' => 'color', 'pattern' => '$', 'key' => 'hover', ), ), 'input_attrs' => array( 'colors' => array( 'color' => array( 'tooltip' => __( 'Initial Color', 'kadence-pro' ), 'palette' => true, ), 'hover' => array( 'tooltip' => __( 'Hover Color', 'kadence-pro' ), 'palette' => true, ), ), ), 'context' => array( array( 'setting' => '__device', 'operator' => 'in', 'value' => array( 'mobile', 'tablet' ), ), ), ), 'transparent_header_mobile_account_in_background' => array( 'control_type' => 'kadence_color_control', 'section' => 'transparent_header_design', 'label' => esc_html__( 'Logged in Account Background', 'kadence-pro' ), 'default' => kadence()->default( 'transparent_header_mobile_account_in_background' ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.mobile-transparent-header .header-mobile-account-in-wrap .header-account-button', 'property' => 'background', 'pattern' => '$', 'key' => 'color', ), array( 'type' => 'css', 'selector' => '.mobile-transparent-header .header-mobile-account-in-wrap .header-account-button:hover', 'property' => 'background', 'pattern' => '$', 'key' => 'hover', ), ), 'context' => array( array( 'setting' => '__device', 'operator' => 'in', 'value' => array( 'mobile', 'tablet' ), ), ), 'input_attrs' => array( 'colors' => array( 'color' => array( 'tooltip' => __( 'Initial Background', 'kadence-pro' ), 'palette' => true, ), 'hover' => array( 'tooltip' => __( 'Hover Background', 'kadence-pro' ), 'palette' => true, ), ), ), ), ); Theme_Customizer::add_settings( $settings );
💾 Save Changes
❌ Cancel