73 lines
2.1 KiB
PHP
73 lines
2.1 KiB
PHP
|
<?php
|
||
|
|
||
|
return array(
|
||
|
|
||
|
'title' => esc_html__( 'Mobile Sidebar Settings', 'thinkai' ),
|
||
|
'id' => 'mobile_setting',
|
||
|
'desc' => '',
|
||
|
'icon' => 'el el-font',
|
||
|
'fields' => array(
|
||
|
|
||
|
//Mobile Logo Style
|
||
|
array(
|
||
|
'id' => 'mobile_logo_show',
|
||
|
'type' => 'switch',
|
||
|
'title' => esc_html__('Enable Mobile Logo', 'thinkai'),
|
||
|
'default' => true,
|
||
|
),
|
||
|
array(
|
||
|
'id' => 'mobile_logo',
|
||
|
'type' => 'media',
|
||
|
'url' => true,
|
||
|
'title' => esc_html__( 'Logo Image', 'thinkai' ),
|
||
|
'subtitle' => esc_html__( 'Insert site logo image', 'thinkai' ),
|
||
|
'required' => array( 'mobile_logo_show', '=', true ),
|
||
|
),
|
||
|
array(
|
||
|
'id' => 'header_v1_logo_dimension',
|
||
|
'type' => 'dimensions',
|
||
|
'title' => esc_html__( 'Logo Dimentions', 'thinkai' ),
|
||
|
'subtitle' => esc_html__( 'Select Logo Dimentions', 'thinkai' ),
|
||
|
'units' => array( 'em', 'px', '%' ),
|
||
|
'default' => array( 'Width' => '', 'Height' => '' ),
|
||
|
'required' => array( 'mobile_logo_show', '=', true ),
|
||
|
),
|
||
|
|
||
|
//Search Form
|
||
|
array(
|
||
|
'id' => 'show_mobile_search_form_v1',
|
||
|
'type' => 'switch',
|
||
|
'title' => esc_html__('Enable/Disable Search Form', 'thinkai'),
|
||
|
'default' => true,
|
||
|
),
|
||
|
|
||
|
//show Mobile Info V1
|
||
|
array(
|
||
|
'id' => 'show_mobile_info_v1',
|
||
|
'type' => 'switch',
|
||
|
'title' => esc_html__('Enable/Disable Contact Info', 'thinkai'),
|
||
|
'default' => true,
|
||
|
),
|
||
|
array(
|
||
|
'id' => 'mobile_email_address_v1',
|
||
|
'type' => 'text',
|
||
|
'title' => __( 'Email Address', 'thinkai' ),
|
||
|
'required' => array( 'show_mobile_info_v1', '=', true ),
|
||
|
),
|
||
|
array(
|
||
|
'id' => 'mobile_phone_no_v1',
|
||
|
'type' => 'text',
|
||
|
'title' => __( 'Phone Number', 'thinkai' ),
|
||
|
'required' => array( 'show_mobile_info_v1', '=', true ),
|
||
|
),
|
||
|
|
||
|
array(
|
||
|
'id' => 'show_mob_social_icon',
|
||
|
'type' => 'switch',
|
||
|
'title' => esc_html__('Enable/Disable Social Icons', 'thinkai'),
|
||
|
'default' => true,
|
||
|
),
|
||
|
),
|
||
|
);
|
||
|
|