Sindbad~EG File Manager

Current Path : /home/frekansk/www/wp-content/themes/turitor/components/theme/options/customizer/
Upload File :
Current File : /home/frekansk/www/wp-content/themes/turitor/components/theme/options/customizer/options-course.php

<?php if (!defined('ABSPATH')) die('Direct access forbidden.');
/**
 * customizer option: banner
 */

 
$options = [
    'course_setting' => [
        'title' => esc_html__('Course Settings', 'turitor'),

        'options' => [
            'course_trending'=> [
                'type'  => 'switch',
                'value' => 'trending_enable',
                'label' => esc_html__('Trending course ', 'turitor'),
                              
                'left-choice' => array(
                    'value' => 'trending_disable',
                    'label' => esc_html__('Disable', 'turitor'),
                ),
                'right-choice' => array(
                    'value' => 'trending_enable',
                    'label' => esc_html__('Enable', 'turitor'),
                ),
           
            ],
            'course_trending_settings' => array(
                'type' => 'multi-picker',
                'picker' => 'course_trending',
       
                'choices' => array(
                     'trending_enable' => [
                        'course_trending_label' =>array(

                            'type'  => 'text',
                            'value' => esc_html__('Feature course','turitor'),
                            'label' => esc_html__('Trending title', 'turitor'),
                          
                        ),
                        'course_trending_sub_label' =>array(

                            'type'  => 'text',
                            'value' => esc_html__('Currently Featured','turitor'),
                            'label' => esc_html__('Trending Sub title', 'turitor'),
                          
                        ),
                        'course_trending_by'=> array(
                            'type'  => 'select',
                            'value' => 'features',
                            'label' => esc_html__('Trending course', 'turitor'),
                            'choices' => array(
                              
                                'popular' => esc_html__('Polularity','turitor'),
                                'features' => esc_html__('Features', 'turitor'),
                               
                            ),
                         
                        ),
                        
                        'course_trending_limit' =>array(

                            'type'  => 'text',
                            'value' => '10',
                            'label' => esc_html__('Course limit', 'turitor'),
                          
                        ),
                        'course_slider_limit' =>array(

                            'type'  => 'text',
                            'value' => '4',
                            'label' => esc_html__('slider show', 'turitor'),
                          
                        ),
                        'course_slider_autoplay' =>array(

                            'type'  => 'switch',
                            'value' => true,
                            'label' => esc_html__('Slider autoplay ', 'turitor'),
                                          
                            'left-choice' => array(
                                'value' => false,
                                'label' => esc_html__('No', 'turitor'),
                            ),
                            'right-choice' => array(
                                'value' => true,
                                'label' => esc_html__('Yes', 'turitor'),
                            ),
                          
                        ),
                        'course_slider_nav' =>array(

                            'type'  => 'switch',
                            'value' => false,
                            'label' => esc_html__('Slider Nav ', 'turitor'),
                                          
                            'left-choice' => array(
                                'value' => false,
                                'label' => esc_html__('No', 'turitor'),
                            ),
                            'right-choice' => array(
                                'value' => true,
                                'label' => esc_html__('Yes', 'turitor'),
                            ),
                          
                        ),
                        'course_slider_dot' =>array(

                            'type'  => 'switch',
                            'value' => true,
                            'label' => esc_html__('Slider Dot ', 'turitor'),
                                          
                            'left-choice' => array(
                                'value' => false,
                                'label' => esc_html__('No', 'turitor'),
                            ),
                            'right-choice' => array(
                                'value' => true,
                                'label' => esc_html__('Yes', 'turitor'),
                            ),
                          
                        ),

                     ]
                 )
            ),   
        
            'course_layout_style' => [
                'label'	        => esc_html__( 'Course style', 'turitor' ),
                'desc'	        => esc_html__( 'This course style only for Learnpress and Tutor LMS', 'turitor' ),
                'type'	        => 'image-picker',
                'choices'       => [
                    
                    'advanced'    => [
                        'small'     => TURITOR_IMG . '/admin/course-style/style1.png',
                        'large'     => TURITOR_IMG . '/admin/course-style/style1.png',
                    ],
                    'standard'    => [
                        'small'     => TURITOR_IMG . '/admin/course-style/style2.png',
                        'large'     => TURITOR_IMG . '/admin/course-style/style2.png',
                    ],
                  
                    'solid'    => [
                        'small'     => TURITOR_IMG . '/admin/course-style/style3.png',
                        'large'     => TURITOR_IMG . '/admin/course-style/style3.png',
                    ],
                
                  
                ],
                'value'         => 'standard',
             ], //course style


             'course_order_by'=> array(
                'type'  => 'select',
                'value' => 'DESC',
                'label' => esc_html__('Course Order', 'turitor'),
                'choices' => array(
                  
                    'DESC' => esc_html__('DESC order','turitor'),
                    'ASC' => esc_html__('ASC order', 'turitor'),
                   
                ),
             
            ),
          
            'course_layout_settings' => array(
                'type' => 'multi-picker',
                'picker' => 'course_layout_style',
       
                'choices' => array(
                    'advanced' => [

                        'search' => [
                            'type'			 => 'switch',
                            'label'			 => esc_html__( 'Show search?', 'turitor' ),
                            'desc'          => esc_html__('Show or hide the search', 'turitor'),
                            'value'         => 'no',
                            'left-choice'	 => [
                                'value'	 => 'yes',
                                'label'	 => esc_html__( 'Yes', 'turitor' ),
                            ],
                            'right-choice'	 => [
                                'value'	 => 'no',
                                'label'	 => esc_html__( 'No', 'turitor' ),
                            ],
                        ],

                        'latest_post' => [
                            'type'			 => 'switch',
                            'label'			 => esc_html__( 'Show latest post?', 'turitor' ),
                            'desc'          => esc_html__('Show or hide the latest post', 'turitor'),
                            'value'         => 'no',
                            'left-choice'	 => [
                                'value'	 => 'yes',
                                'label'	 => esc_html__( 'Yes', 'turitor' ),
                            ],
                            'right-choice'	 => [
                                'value'	 => 'no',
                                'label'	 => esc_html__( 'No', 'turitor' ),
                            ],
                        ], 

                        'category' => [
                            'type'			 => 'switch',
                            'label'			 => esc_html__( 'Show category filter?', 'turitor' ),
                            'desc'          => esc_html__('Show or hide the category filter', 'turitor'),
                            'value'         => 'no',
                            'left-choice'	 => [
                                'value'	 => 'yes',
                                'label'	 => esc_html__( 'Yes', 'turitor' ),
                            ],
                            'right-choice'	 => [
                                'value'	 => 'no',
                                'label'	 => esc_html__( 'No', 'turitor' ),
                            ],
                        ], 

                        'skill' => [
                            'type'			 => 'switch',
                            'label'			 => esc_html__( 'Show skill filter?', 'turitor' ),
                            'desc'          => esc_html__('Show or hide the skill filter', 'turitor'),
                            'value'         => 'no',
                            'left-choice'	 => [
                                'value'	 => 'yes',
                                'label'	 => esc_html__( 'Yes', 'turitor' ),
                            ],
                            'right-choice'	 => [
                                'value'	 => 'no',
                                'label'	 => esc_html__( 'No', 'turitor' ),
                            ],
                        ],
                    ]
                 ) 
            ), 
            
            'learndash_related_coures' => [
                'type'			 => 'switch',
                'label'			 => esc_html__( 'Show Learndash related courese ?', 'turitor' ),
                'desc'          => esc_html__('Show or hide the learndash related course', 'turitor'),
                'value'         => 'yes',
                'left-choice'	 => [
                    'value'	 => 'yes',
                    'label'	 => esc_html__( 'Yes', 'turitor' ),
                ],
                'right-choice'	 => [
                    'value'	 => 'no',
                    'label'	 => esc_html__( 'No', 'turitor' ),
                ],
            ],


        ],
    ],
];

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists