<?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__( 'Sidebar Section', 'codedokan' ),
		'desc'             => esc_html__( '', 'codedokan' ),
		'id'               => 'sidebar_section',
		'subsection'       => true,
		'customizer_width' => '700px',
		'fields'           => array(
			
			array(
				'id'       => 'menu_one_confiq',
				'type'     => 'switch',
				'title'    => esc_html__( 'Menu One Show Hide', 'codedokan' ),
				'default'  => true,
				'on'       => 'Menu One Show',
				'off'      => 'Menu One Hide',
			),
			
			array(
				'id'       => 'notice_confiq',
				'type'     => 'switch',
				'title'    => esc_html__( 'Notice Board Show Hide', 'codedokan' ),
				'default'  => true,
				'on'       => 'Notice Board Show',
				'off'      => 'Notice Board Hide',
			),
			
			array(
                'id'       => 'noticeboard_title',
				'required' => array( 'notice_confiq', '=', true ),
                'type'     => 'text',
                'title'    => __( 'Notice Title', 'codedokan' ),
                'default'  => 'Notice Board',
				),
				
			array(
                'id'       => 'how_notice',
				'required' => array( 'notice_confiq', '=', true ),
                'type'     => 'text',
                'title'    => __( 'How Many Post Show in Notice Board', 'codedokan' ),
                'default'  => 10,
				),
			
			array(
				'id'       => 'menu_two_confiq',
				'type'     => 'switch',
				'title'    => esc_html__( 'Menu Two Show Hide', 'codedokan' ),
				'default'  => true,
				'on'       => 'Menu Two Show',
				'off'      => 'Menu Two Hide',
			),			
				
			array(
                'id'       => 'sidebar_menu_two',
				'required' => array( 'menu_two_confiq', '=', true ),
                'type'     => 'text',
                'title'    => __( 'Sidebar Menu Two Title', 'codedokan' ),
                'default'  => 'Official Link ',
				),
				
			array(
				'id'       => 'menu_three_confiq',
				'type'     => 'switch',
				'title'    => esc_html__( 'Menu Three Show Hide', 'codedokan' ),
				'default'  => true,
				'on'       => 'Menu Three Show',
				'off'      => 'Menu Three Hide',
			),
			
			array(
                'id'       => 'sidebar_menu_three',
				'required' => array( 'menu_three_confiq', '=', true ),
                'type'     => 'text',
                'title'    => __( 'Sidebar Menu Three Title', 'codedokan' ),
                'default'  => 'Important Link',
				),
				
				
				array(
				'id'       => 'facebook',
				'type'     => 'switch',
				'title'    => esc_html__( 'Facebook', 'codedokan' ),
				'default'  => true,
				'on'       => 'Facebook Show',
				'off'      => 'Facebook Hide',
			),
			
		
			  array(
				'required' => array( 'facebook', '=', true ),
                'id'       => 'facebook_title',
                'type'     => 'text',
                'title'    => __( 'Facebook Title', 'codedokan' ),
                'default'  => 'Our Like Page',
				
            ),
			  array(
			    'title' => __('Facebook Link', 'codedokan'),
				'required' => array( 'facebook', '=', true ),
				'id' => 'facebook_link',
				'type' => 'text',
				'default' => 'https://www.facebook.com/wordpress',
				
			  ),
			  array(
                'id'       => 'facebook_width',
				'required' => array( 'facebook', '=', true ),
                'type'     => 'text',
                'title'    => __( 'Facebook width', 'codedokan' ),
                'default'  => '260',
            ),
            array(
                'id'       => 'facebook_height',
				'required' => array( 'facebook', '=', true ),
                'type'     => 'text',
                'title'    => __( 'Facebook Height', 'codedokan' ),
                'default'  => '170',
            ),
			
			array(
				'id'       => 'timeline',
				'required' => array( 'facebook', '=', true ),
				'type'     => 'checkbox',
				'title'    => esc_html__( 'Facebook Timeline Active', 'codedokan' ),
				'desc'     => esc_html__( 'Active Facebook Page Newsfeed', 'codedokan' ),
				'default'  => 1, 
			),
			
			
				
			
			
				
			
			
			
			
		
			
			
			
			
			
	

		
		),
	)
);
