Sindbad~EG File Manager
<?php if (!defined('ABSPATH')) die('Direct access forbidden.');
/**
* customizer option: blog
*/
$options =[
'blog_settings' => [
'title' => esc_html__( 'Blog settings', 'turitor' ),
'options' => [
'blog_sidebar' =>[
'type' => 'select',
'label' => esc_html__('Sidebar', 'turitor'),
'desc' => esc_html__('Description', 'turitor'),
'help' => esc_html__('Help tip', 'turitor'),
'choices' => array(
'1' => esc_html__('No sidebar','turitor'),
'2' => esc_html__('Left Sidebar', 'turitor'),
'3' => esc_html__('Right Sidebar', 'turitor'),
),
'no-validate' => false,
],
'blog_title' => [
'label' => esc_html__( 'Global blog title', 'turitor' ),
'type' => 'text',
],
'blog_header_image' => [
'label' => esc_html__( 'Global header background image', 'turitor' ),
'type' => 'upload',
],
'blog_author' => [
'type' => 'switch',
'label' => esc_html__( 'Blog author', 'turitor' ),
'desc' => esc_html__( 'Do you want to show blog author?', 'turitor' ),
'value' => 'no',
'left-choice' => [
'value' => 'yes',
'label' => esc_html__( 'Yes', 'turitor' ),
],
'right-choice' => [
'value' => 'no',
'label' => esc_html__( 'No', 'turitor' ),
],
],
'blog_social_share' => [
'type' => 'switch',
'label' => esc_html__( 'Social share', 'turitor' ),
'desc' => esc_html__( 'Do you want to show social share buttons?', 'turitor' ),
'value' => 'no',
'left-choice' => [
'value' => 'yes',
'label' => esc_html__( 'Yes', 'turitor' ),
],
'right-choice' => [
'value' => 'no',
'label' => esc_html__( 'No', 'turitor' ),
],
],
'course_search_filter' =>[
'type' => 'switch',
'value' => 'no',
'label' => esc_html__('Course search / blog search', 'turitor'),
'left-choice' => array(
'value' => 'yes',
'label' => esc_html__('Yes', 'turitor'),
),
'right-choice' => array(
'value' => 'no',
'label' => esc_html__('No', 'turitor'),
),
],
],
]
];
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists