<?php if (!defined('ABSPATH')) die('Direct access forbidden.');
/**
 * customizer option: general
 */

$options =[
    'footer_settings' => [
            'title'		 => esc_html__( 'Footer settings', 'vinkmag' ),
            'options'	 => [
                'footer_layout_style' => [
                    'label'	        => esc_html__( 'Footer style', 'vinkmag' ),
                    'desc'	        => esc_html__( 'This is the site\'s main Footer style.', 'vinkmag' ),
                    'type'	        => 'image-picker',
                    'choices'       => [
                        'style1'    => [
                            'small'     => VINKMAG_IMG . '/admin/footer-style/style1.png',
                            'large'     => VINKMAG_IMG . '/admin/footer-style/style1.png',
                        ],
                        'style2'    => [
                            'small'     => VINKMAG_IMG . '/admin/footer-style/style2.png',
                            'large'     => VINKMAG_IMG . '/admin/footer-style/style2.png',
                        ],
                    ],
                    'value'         => 'style1',
                 ],

                'footer_newslatter'      => [
                    'type'    => 'multi-picker',
                    'picker'  => [
                        'footer_show_newslatter'      => [
                            'type'  => 'switch',
                            'value' => 'no',
                            'label' => esc_html__('Show newslatter', 'vinkmag'),
                            'desc'  => esc_html__('Show or hide the "newslatter form" in footer.', 'vinkmag'),
                            'left-choice' => [
                                'value' => 'yes',
                                'label' => esc_html__( 'Yes', 'vinkmag' ),
                            ],
                            'right-choice' => [
                                'value' => 'no',
                                'label' => esc_html__( 'No', 'vinkmag' ),
                            ],
                        ],
                    ],
                    'choices' => [
                        'yes' => [
                            'footer_newslatter_options' => [
                                'type' => 'popup',
                                'label' => '',
                                'button' => esc_html__( 'Change newslatter settings', 'vinkmag' ),
                                'popup-title' => esc_html__( 'Newslatter settings', 'vinkmag' ),
                                'size' => 'medium',
                                'popup-options' => [
                                    'newslatter_title'	 => [
                                        'type'	 => 'text',
                                        'label'	 => esc_html__( 'Newslatter title', 'vinkmag' ),
                                    ],
                                    'newslatter_text'	 => [
                                        'type'	 => 'textarea',
                                        'label'	 => esc_html__( 'Newslatter promot text', 'vinkmag' ),
                                        'desc'	 => esc_html__( 'This text will be displayed just under the title.', 'vinkmag' ),
                                    ],
                                    'newslatter_form_shortcode'	 => [
                                        'type'	 => 'text',
                                        'label'	 => esc_html__( 'Newslatter shortcode', 'vinkmag' ),
                                        'desc'	 => esc_html__( 'Put your newslatter shortcode here. This shortcode should display the form.', 'vinkmag' ),
                                    ],
                                ]
                            ]
                        ]
                    ]
                ],
                'instagram_feed' => [
                    'type'			 => 'switch',
                    'label'			 => esc_html__( 'instagram feed', 'vinkmag' ),
                    'desc'			 => esc_html__( 'Do you want to show instagram feed?', 'vinkmag' ),
                    'value'          => 'yes',
                    'left-choice' => [
                        'value'	 => 'yes',
                        'label'	 => esc_html__( 'Yes', 'vinkmag' ),
                    ],
                    'right-choice' => [
                        'value'	 => 'no',
                        'label'	 => esc_html__( 'No', 'vinkmag' ),
                    ],
               ],
               'ins_access_token'	 => [
                    'type'	 => 'text',
                    'value'  => esc_attr__('2367672995.1677ed0.dea7a14501d04cd9982c7a0d23c716dd','vinkmag'),
                    'label'	 => esc_html__( 'access token', 'vinkmag' ),
                    'desc'	 => esc_html__( 'This text will be shown access token.', 'vinkmag' ),
                ],
               'ins_userId'	 => [
                    'type'	 => 'text',
                    'value'  => esc_attr__('2367672995','vinkmag'),
                    'label'	 => esc_html__( 'user id', 'vinkmag' ),
                    'desc'	 => esc_html__( 'This text will be shown user id.', 'vinkmag' ),
                ],
               'ins_limit'	 => [
                    'type'	 => 'text',
                    'value'  => esc_attr__('6','vinkmag'),
                    'label'	 => esc_html__( 'limit', 'vinkmag' ),
                    'desc'	 => esc_html__( 'This text will be shown limit.', 'vinkmag' ),
                ],

               'ins_user_link'	 => [
                    'type'	 => 'text',
                    'value'  => esc_attr__('https://www.instagram.com/xpeeder/','vinkmag'),
                    'label'	 => esc_html__( 'instagram user link', 'vinkmag' ),
                    'desc'	 => esc_html__( 'This text will be shown your instagram user link', 'vinkmag' ),
                ],

                'footer_copyright'	 => [
                    'type'	 => 'text',
                    'value'  => esc_attr__('&copy; 2019, Vinkmag. All rights reserved','vinkmag'),
                    'label'	 => esc_html__( 'Copyright text', 'vinkmag' ),
                    'desc'	 => esc_html__( 'This text will be shown at the footer of all pages.', 'vinkmag' ),
                ],
            ],
        ]
    ];