<?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__( 'Teacher Section', 'codedokan' ),
		'desc'             => esc_html__( '', 'codedokan' ),
		'id'               => 'homepage_teacher_section',
		'subsection'       => true,
		'customizer_width' => '700px',
		'fields'           => array(
			
			
	array(
                'id'       => 'our_teacher',
                'type'     => 'text',
                'title'    => __( 'Our Teacher Title Text', 'codedokan' ),
				'desc'     => esc_html__( 'If YOu Want to Not Showing in Homepage Please Delete this Text', 'codedokan' ),
                'default'  => 'Our Teacher',
				),
				
				
				array(
                'id'       => 'teachers_cat',
                'type'     => 'select',
                'title'    => __( 'Choose HomePage Teachers categories', 'codedokan' ),
                //'desc'      => __( '1st Create Category From Posts-> Category, Then Select Here.', 'codedokan' ),
				'data' => 'terms',
				'multi'   => false,
				'args' => array(
				'post_type' => 'teachers',
					'taxonomies' => array( 'teacherscat' ),
					'hide_empty' => false,
				),
				'default'  => 0,
				
            ),
								
				array(
                'id'       => 'how_teacher',
                'type'     => 'text',
                'title'    => __( 'How Many Image show in Homepage Teacher Section', 'codedokan' ),
                'default'  => 10,
            ),

		
		),
	)
);
