<?php
/**
 * Redux Framework text config.
 * For full documentation, please visit: http://devs.redux.io/
 *
 * @package Redux Framework
 */

defined( 'ABSPATH' ) || exit;

Redux::set_section(
	$opt_name,
	array(
		'title'            => esc_html__( 'Course Section', 'codedokan' ),
		'desc'             => esc_html__( '', 'codedokan' ),
		'id'               => 'homepage_course_section',
		'subsection'       => true,
		'customizer_width' => '700px',
		'fields'           => array(
			

			array(
                'id'       => 'our_course',
                'type'     => 'text',
                'title'    => __( 'Our Course Title Text', 'codedokan' ),
				'desc'     => esc_html__( 'If YOu Want to Not Showing in Homepage Please Delete this Text', 'codedokan' ),
                'default'  => 'Our Course',
				),
								
				array(
                'id'       => 'how_course',
                'type'     => 'text',
                'title'    => __( 'How Many Image show in Homepage Course Section', 'codedokan' ),
                'default'  => 10,
            ),
			
			array(
                'id'       => 'coursescat',
                'type'     => 'select',
                'title'    => __( 'Choose HomePage Course categories', 'codedokan' ),
                //'desc'      => __( '1st Create Category From Posts-> Category, Then Select Here.', 'codedokan' ),
				'data' => 'terms',
				'multi'   => false,
				'args' => array(
				'post_type' => 'courses',
					'taxonomies' => array( 'coursescat' ),
					'hide_empty' => false,
				),
				'default'  => 0,
				
            ),
			
		
			


		
		),
	)
);
