<?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__( 'Speech Section', 'codedokan' ),
		'desc'             => esc_html__( '', 'codedokan' ),
		'id'               => 'homepage_speech_section',
		'subsection'       => true,
		'customizer_width' => '700px',
		'fields'           => array(
			
			
			
			array(
				'id'       => 'speech_confiq',
				'type'     => 'switch',
				'title'    => esc_html__( 'Speech Post Show Hide', 'codedokan' ),
				'default'  => true,
				'on'       => 'Show',
				'off'      => 'Hide',
			),
			
				array(
                'id'       => 'how_speech',
				'required' => array( 'speech_confiq', '=', true ),
                'type'     => 'text',
                'title'    => __( 'How Many Post show in Speech  Section', 'codedokan' ),
                'default'  => 2,
            ),
			
			array(
                'id'       => 'how_speech_word',
				'required' => array( 'speech_confiq', '=', true ),
                'type'     => 'text',
                'title'    => __( 'How Many Word show in Speech Section', 'codedokan' ),
                'default'  => 40,
            ),
			
			
			array(
                'id'       => 'read_more',
				'required' => array( 'speech_confiq', '=', true ),
                'type'     => 'text',
                'title'    => __( 'Read More Text', 'codedokan' ),
                'default'  => 'Read More',
				),
	

		
		),
	)
);
