<?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__( 'Video Section', 'codedokan' ),
		'desc'             => esc_html__( '', 'codedokan' ),
		'id'               => 'homepage_video_section',
		'subsection'       => true,
		'customizer_width' => '700px',
		'fields'           => array(
			

			array(
                'id'       => 'video_title',
                'type'     => 'text',
                'title'    => __( 'Video Gallery Title', 'codedokan' ),
                'default'  => 'Video Gallery',
            ),
			
			array(
                'id'       => 'video_cat',
                'type'     => 'select',
                'title'    => __( 'Choose HomePage Video categories', 'codedokan' ),
                //'desc'      => __( '1st Create Category From Posts-> Category, Then Select Here.', 'codedokan' ),
				'data' => 'terms',
				'multi'   => false,
				'args' => array(
				'post_type' => 'video_gallery',
					'taxonomies' => array( 'videocat' ),
					'hide_empty' => false,
				),
				'default'  => 0,
				
            ),
			
			array(
                'id'       => 'how_video',
                'type'     => 'text',
                'title'    => __( 'How Many Post Show', 'codedokan' ),
                'default'  => 6,
            ),
			
			array(
				'id'   => 'homepage_seven',
				'type' => 'divide',
			),
			
			


		
		),
	)
);
