Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/confenda.com/wp-content/themes/beevent/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/confenda.com/wp-content/themes/beevent/functions/theme-options.php
<?php
if(!isset($_SESSION['random'])){  
     $_SESSION['random'] = wp_rand();  
}  
$random = $_SESSION['random']; 

$allowed_html_array = array(
	'i' => array(
		'class' => array()
	),
	'span' => array(
	'class' => array()
	),
	'a' => array(
	'href' => array(),
	'title' => array(),
	'target' => array()
	)
);

/**
 * ReduxFramework Sample Config File
 * For full documentation, please visit: https://docs.reduxframework.com
 * */
if ( ! class_exists( 'Redux' ) ) {
	return;
}
// This is your option name where all the Redux data is stored.
global $opt_name;
$opt_name = "beevent_options";
$theme = wp_get_theme(); 
	$args = array(
	// TYPICAL -> Change these values as you need/desire
	'opt_name'             => $opt_name,
	// This is where your data is stored in the database and also becomes your global variable name.
	'display_name'         => $theme->get( 'Name' ),
	// Name that appears at the top of your panel
	//'display_version'      => $theme->get( 'Version' ),
	// Version that appears at the top of your panel
	'menu_type'            => 'submenu',
	//Specify if the admin menu should appear or not. Options: menu or submenu (Under appearance only)
	'allow_sub_menu'       => false,
	// Show the sections below the admin menu item or not
	'menu_title'           => esc_html__( 'Theme Options', 'beevent' ),
	'page_title'           => esc_html__( 'Theme Options', 'beevent' ),
	// You will need to generate a Google API key to use this feature.
	// Please visit: https://developers.google.com/fonts/docs/developer_api#Auth
	'google_api_key'       => '',
	// Set it you want google fonts to update weekly. A google_api_key value is required.
	'google_update_weekly' => false,
	// Must be defined to add google fonts to the typography module
	'async_typography'     => true,
	// Use a asynchronous font on the front end or font string
	//'disable_google_fonts_link' => true,                    // Disable this in case you want to create your own google fonts loader
	'admin_bar'            => true,
	// Show the panel pages on the admin bar
	'admin_bar_icon'       => 'dashicons-admin-settings',
	// Choose an icon for the admin bar menu
	'admin_bar_priority'   => 50,
	// Choose a priority for the admin bar menu
	'global_variable'      => '',
	// Set a different name for your global variable other than the opt_name
	'dev_mode'             => false,
	// Show the time the page took to load, etc
	'update_notice'        => false,
	// If dev_mode is enabled, will notify developer of updated versions available in the GitHub Repo
	'customizer'           => true,
	// Enable basic customizer support
	//'open_expanded'     => true,                    // Allow you to start the panel in an expanded way initially.
	//'disable_save_warn' => true,                    // Disable the save warning when a user changes a field
	// OPTIONAL -> Give you extra features
	'page_priority'        => null,
	// Order where the menu appears in the admin area. If there is any conflict, something will not show. Warning.
	'page_parent'          => 'themes.php',
	// For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
	'page_permissions'     => 'manage_options',
	// Permissions needed to access the options panel.
	'menu_icon'            => '',
	// Specify a custom URL to an icon
	'last_tab'             => '',
	// Force your panel to always open to a specific tab (by id)
	'page_icon'            => 'icon-themes',
	// Icon displayed in the admin panel next to your menu_title
	'page_slug'            => '_beevent_options',
	// Page slug used to denote the panel
	'save_defaults'        => true,
	// On load save the defaults to DB before user clicks save or not
	'default_show'         => false,
	// If true, shows the default value next to each field that is not the default value.
	'default_mark'         => '',
	// What to print by the field's title if the value shown is default. Suggested: *
	'show_import_export'   => true,
	// Shows the Import/Export panel when not used as a field.
	// CAREFUL -> These options are for advanced use only
	'transient_time'       => 60 * MINUTE_IN_SECONDS,
	'output'               => true,
	// Global shut-off for dynamic CSS output by the framework. Will also disable google fonts output
	'output_tag'           => true,
	// Allows dynamic CSS to be generated for customizer and google fonts, but stops the dynamic CSS from going to the head
	// 'footer_credit'     => '',                   // Disable the footer credit of Redux. Please leave if you can help it.
	// FUTURE -> Not in use yet, but reserved or partially implemented. Use at your own risk.
	'database'             => '',
	// possible: options, theme_mods, theme_mods_expanded, transient. Not fully functional, warning!
	'system_info'          => false,
	// REMOVE
	//'compiler'             => true,
	// HINTS
	'hints'                => array(
		'icon'          => 'el el-question-sign',
		'icon_position' => 'right',
		'icon_color'    => 'lightgray',
		'icon_size'     => 'normal',
		'tip_style'     => array(
			'color'   => 'light',
			'shadow'  => true,
			'rounded' => false,
			'style'   => '',
		),
		
		'tip_position'  => array(
			'my' => 'top left',
			'at' => 'bottom right',
		),

		'tip_effect'    => array(
			'show' => array(
				'effect'   => 'slide',
				'duration' => '500',
				'event'    => 'mouseover',
			),

			'hide' => array(
				'effect'   => 'slide',
				'duration' => '500',
				'event'    => 'click mouseleave',
			),
		),
	)
);

  Redux::setArgs( $opt_name, $args );
            /**
             * Used within different fields. Simply examples. Search for ACTUAL DECLARATION for field examples
             * */
            // Background Patterns Reader
            $sample_patterns_path = ReduxFramework::$_dir . '../sample/patterns/';
            $sample_patterns_url  = ReduxFramework::$_url . '../sample/patterns/';
            $sample_patterns      = array();
$icons = array(
    "icon-tools-2",	"icon-tools",	"icon-presentation",	"icon-search",	"icon-gears",	"icon-mobile",	"icon-layers",	"icon-compass",	"icon-clipboard",	"icon-video",	"icon-happy",	"icon-download",	"icon-envelope",	"icon-chat",	"icon-genius",	"icon-envelope",	"icon-megaphone",	"icon-heart",	"icon-dial",	"icon-laptop",	"icon-desktop",	"icon-tablet",	"icon-phone",	"icon-document",	"icon-documents",	"icon-clipboard",	"icon-newspaper",	"icon-notebook",	"icon-book-open",	"icon-browser",	"icon-calendar",	"icon-picture",	"icon-pictures",	"icon-camera",	"icon-printer",	"icon-toolbox",	"icon-briefcase",	"icon-wallet",	"icon-gift",	"icon-bargraph",	"icon-grid",	"icon-expand",	"icon-focus",	"icon-edit",	"icon-adjustments",	"icon-ribbon", "icon-hourglass", "icon-lock", "icon-shield", "icon-trophy", "icon-flag", "icon-map", "icon-puzzle", "icon-basket", "icon-streetsign", "icon-telescope", "icon-key", "icon-paperclip", "icon-attachment", "icon-pricetags", "icon-lightbulb", "icon-pencil", "icon-scissors", "icon-paintbrush", "icon-magnifying-glass", "icon-circle-compass", "icon-linegraph", "icon-mic", "icon-strategy", "icon-beaker", "icon-caution", "icon-recycle", "icon-anchor", "icon-profile-male", "icon-profile-female", "icon-bike", "icon-wine", "icon-hotairballoon", "icon-glob", "icon-map-pin", "icon-dial", "icon-cloud", "icon-upload", "icon-traget", "icon-hazardous", "icon-piechart", "icon-speedometer", "icon-global", "icon-compass", "icon-lifesaver", "icon-clock", "icon-aperture", "icon-quote", "icon-scope", "icon-alarmclock", "icon-refresh", "icon-sad", "icon-facebook", "icon-twitter", "icon-googleplus", "icon-rss", "icon-tumblr", "icon-linkedin", "icon-dribbble"
);

sort( $icons );
$iconArray = array();
foreach ( $icons as $icon ) {
    $name                       = ucwords( str_replace( '-', ' ', str_replace( array(
        'icon-',
        '-play',
        '-square',
        '-alt',
        '-circle'
    ), '', $icon ) ) );
    $iconArray[ '' . $icon ] = $name;
}
$f_icons = array(
"fa fa-mobile",	"fa fa-life-ring", "fa fa-user", "fa fa-clock-o", "fa fa-calendar", "fa fa-bookmark", "fa fa-trophy", "fa fa-car", "fa fa-cogs", "fa fa-desktop", "fa fa-transgender-alt", "fa fa-mobile","fa fa-adjust","fa fa-anchor","fa fa-archive","fa fa-area-chart","fa fa-arrows","fa fa-arrows-h","fa fa-arrows-v","fa fa-asterisk","fa fa-at","fa fa-car","fa fa-balance-scale","fa fa-ban","fa fa-university","fa fa-bar-chart","fa fa-barcode","fa fa-bars","fa fa-battery-half","fa fa-battery-full","fa fa-battery-empty","fa fa-battery-quarter","fa fa-battery-three-quarters","fa fa-bed","fa fa-beer","fa fa-bell","fa fa-bell-o","fa fa-bell-slash","fa fa-bell-slash-o","fa fa-bicycle","fa fa-binoculars","fa fa-birthday-cake","fa fa-bolt","fa fa-bomb","fa fa-book","fa fa-bookmark","fa fa-bookmark-o","fa fa-briefcase","fa fa-bug","fa fa-building","fa fa-building-o","fa fa-bullhorn","fa fa-bullseye", "fa fa-taxi","fa fa-calculator","fa fa-calendar","fa fa-calendar-check-o","fa fa-calendar-minus-o","fa fa-calendar-o","fa fa-calendar-plus-o","fa fa-calendar-times-o","fa fa-camera","fa fa-camera-retro","fa fa-car","fa fa-caret-square-o-down","fa fa-caret-square-o-left","fa fa-caret-square-o-right","fa fa-caret-square-o-up","fa fa-cart-arrow-down","fa fa-cart-plus","fa fa-cc","fa fa-certificate","fa fa-check","fa fa-check-circle","fa fa-check-circle-o","fa fa-check-square","fa fa-check-square-o","fa fa-child","fa fa-circle","fa fa-circle-o","fa fa-circle-o-notch","fa fa-circle-thin","fa fa-clock-o","fa fa-clone","fa fa-times","fa fa-cloud","fa fa-cloud-download","fa fa-cloud-upload","fa fa-code","fa fa-code-fork","fa fa-coffee","fa fa-cog","fa fa-comment","fa fa-comment-o","fa fa-commenting","fa fa-commenting-o","fa fa-comments","fa fa-comments-o","fa fa-compass","fa fa-copyright","fa fa-creative-commons","fa fa-credit-card","fa fa-crop","fa fa-crosshairs","fa fa-cube","fa fa-cubes","fa fa-cutlery","fa fa-tachometer","fa fa-database","fa fa-diamond","fa fa-dot-circle-o","fa fa-download","fa fa-pencil-square-o","fa fa-ellipsis-h","fa fa-ellipsis-v","fa fa-envelope","fa fa-envelope-o","fa fa-envelope-square","fa fa-eraser","fa fa-exchange","fa fa-exclamation","fa fa-exclamation-circle","fa fa-exclamation-triangle","fa fa-exclamation-circle","fa fa-external-link","fa fa-external-link-square","fa fa-eye","fa fa-eye-slash","fa fa-eyedropper","fa fa-fax","fa fa-rss","fa fa-female","fa fa-fighter-jet","fa fa-file-archive-o","fa fa-file-audio-o","fa fa-file-code-o","fa fa-file-excel-o","fa fa-file-image-o","fa fa-file-video-o","fa fa-file-pdf-o","fa fa-file-image-o","fa fa-file-powerpoint-o","fa fa-file-audio-o","fa fa-file-word-o","fa fa-film","fa fa-filter","fa fa-fire","fa fa-fire-extinguisher","fa fa-flag","fa fa-flag-checkered","fa fa-flag-o","fa fa-flask","fa fa-folder","fa fa-folder-o","fa fa-folder-open","fa fa-folder-open-o","fa fa-frown-o","fa fa-futbol-o","fa fa-gamepad","fa fa-gavel","fa fa-gift","fa fa-glass","fa fa-globe","fa fa-graduation-cap","fa fa-users","fa fa-hand-rock-o","fa fa-hand-lizard-o","fa fa-hand-paper-o","fa fa-hand-peace-o","fa fa-hand-pointer-o","fa fa-hand-rock-o","fa fa-hand-scissors-o","fa fa-hand-spock-o","fa fa-hdd-o","fa fa-headphones","fa fa-heart","fa fa-heart-o","fa fa-heartbeat","fa fa-history","fa fa-home","fa fa-hourglass","fa fa-hourglass-start","fa fa-hourglass-half","fa fa-hourglass-end","fa fa-hourglass-o","fa fa-i-cursor","fa fa-picture-o","fa fa-inbox","fa fa-industry","fa fa-info","fa fa-info-circle","fa fa-key","fa fa-keyboard-o","fa fa-language","fa fa-laptop","fa fa-leaf","fa fa-lemon-o","fa fa-level-down","fa fa-level-up","fa fa-life-ring","fa fa-lightbulb-o","fa fa-line-chart","fa fa-location-arrow","fa fa-lock","fa fa-magic","fa fa-magnet","fa fa-share","fa fa-reply","fa fa-reply-all","fa fa-male","fa fa-map","fa fa-map-marker","fa fa-map-o","fa fa-map-pin","fa fa-map-signs","fa fa-meh-o","fa fa-microphone","fa fa-microphone-slash","fa fa-minus","fa fa-minus-circle","fa fa-minus-square","fa fa-minus-square-o","fa fa-money","fa fa-moon-o","fa fa-graduation-cap","fa fa-motorcycle","fa fa-mouse-pointer","fa fa-music","fa fa-newspaper-o","fa fa-object-group","fa fa-object-ungroup","fa fa-paint-brush","fa fa-paper-plane","fa fa-paper-plane-o","fa fa-paw","fa fa-pencil","fa fa-pencil-square","fa fa-pencil-square-o","fa fa-phone","fa fa-phone-square","fa fa-picture-o","fa fa-pie-chart","fa fa-plane","fa fa-plug","fa fa-plus","fa fa-plus-circle","fa fa-plus-square","fa fa-plus-square-o","fa fa-power-off","fa fa-print","fa fa-puzzle-piece", "fa fa-mars", "fa fa-link", "fa fa-globe", "fa fa-file-text","fa fa-refresh", "fa fa-rocket", "fa fa-desktop", "fa fa-tachometer", "fa fa-database","fa fa-group", "fa fa-hourglass-1", "fa fa-headphones", "fa fa-gears");
sort( $f_icons );
$f_iconArray = array();
foreach ( $f_icons as $f_icon ) {
    $name                       = ucwords( str_replace( '-', ' ', str_replace( array(
        'icon-',
        '-play',
        '-square',
        '-alt',
        '-circle'
    ), '', $f_icon ) ) );
    $f_iconArray[ '' . $f_icon ] = $name;
}

Redux::setSection( $opt_name, array(
	'title'  => esc_html__('General', 'beevent'),
	'desc'   => esc_html__('General BeEvent Settings.', 'beevent'),
	'icon'   => 'el el-th',
	'id'     => 'general-options',
	'fields' => array(
		array(
			'id' => 'primary_color',
			'type' => 'color',
			'title' => __('Theme Primary Color ', 'beevent'),
			'compiler' => 'true',
			'desc' => __('Theme Primary Color Scheme.', 'beevent'),
			'transparent' => false,
			'default' => '#de302f'
		),
	    array(
			'id'       => 'font_style',
			'type'     => 'select',
			'title'    => esc_html__('Select Font Family', 'beevent'), 
			'desc'     => esc_html__('Please Select A Font Family.', 'beevent'),
			'options'  => array(
				'Montserrat' => 'Montserrat',
				'Lato' => 'Lato',
				'MartelSans' => 'Martel Sans',
				'OpenSans' => 'Open Sans',
				'Roboto' => 'Roboto',
			),
			'default'  => 'Roboto',						
		),
	)
));

       
//////////////////////////////////////////////////////////////////////////// 3. HEADER //

Redux::setSection( $opt_name, array(

	'title' => esc_html__('Header', 'beevent'),
	'id'    => 'header-options',
	'desc' => esc_html__('Header beevent Settings', 'beevent'),

	'icon' => 'el el-credit-card',


));

Redux::setSection( $opt_name, array(

	'title' => esc_html__('Logo', 'beevent'),

	'id'    => 'header-logo-options',

	'subsection' => true,

	'fields' => array(
				array(
					'id' => 'site_logo',
					'type' => 'media',
					'title' => esc_html__('Site Logo', 'beevent'),
					'compiler' => 'true',
					'desc' => esc_html__('Upload site logo.', 'beevent'),
					'default' => array(
					'url' => esc_url(get_template_directory_uri() . '/assets/images/logo.png', 'beevent')
								)
				),
				array(
						'id' => 'site_favicon',
						'type' => 'media',
						'title' => esc_html__('Site Favicon', 'beevent'),
						'compiler' => 'true',
						'desc' => esc_html__('Upload site favicon.', 'beevent'),
						'default' => array(
						'url' => esc_url(get_template_directory_uri() . '/assets/images/favicon-icon/favicon.png', 'beevent')
								)
					),
				array(

				'id' => 'Header_contact_number',
				'type' => 'text',
				'title' => esc_html__('Header Contact Number', 'beevent'),
				'compiler' => 'true',
				'desc' => esc_html__('Please Input Your Contact Number.', 'beevent'),
				'default'=> 'Call : +61-123-456-789',
		),
	)
		)
	);

Redux::setSection( $opt_name, array(

	'title' => esc_html__('Header Style', 'beevent'),

	'id'    => 'header-style-options',

	'subsection' => true,

	'fields' => array(
				array(
						'id'       => 'header_style',
						'type' => 'image_select',
						'title'    => esc_html__('Select Header Style', 'beevent'), 
						'desc'     => esc_html__('Please Select a Header Style.', 'beevent'),
						'options'  => array(
							'header_style_1' => get_template_directory_uri().'/functions/meta/images/header/h-default.png',
							'header_style_2' =>  get_template_directory_uri().'/functions/meta/images/header/fullscreen-menu.jpg',
							'header_style_3' => get_template_directory_uri().'/functions/meta/images/header/header-3.png',
						),
						'default'  => 'header_style_3',						
					) ,
				
	)
		)
	);


////////////////////////////////////////////////////////////////////// 4. FOOTER //

Redux::setSection( $opt_name, array(

	'title' => esc_html__('Footer', 'beevent'),
	'id'    => 'footer-options',
	'desc'  => esc_html__('Footer beevent Settings', 'beevent'),
	'icon'  => 'el el-credit-card',


));
// HERE'S THE FIELD THAT I PUT INTO MY PANEL
 
Redux::setSection( $opt_name, array(
	'title' => esc_html__('Footer Bottom ', 'beevent'),
	'id'    => 'footer-bottom-options',
	'desc' => esc_html__('Footer Bottom Setting', 'beevent'),
	'subsection' => true,
	'fields' => array(
		// Footer Theme Option Code Replace It Add It This .. 
		array(
						'id' => 'contact_frm_heading',
						'type' => 'text',
						'title' => esc_html__('Contacts Form Text', 'beevent'),
						'compiler' => 'true',
						'desc' => esc_html__('Please Input Contact Form Heading.', 'beevent'),
						'default'  => 'Reserve Your Seat'
					),
					
		array(
						'id' => 'contact_shortcode',
						'type' => 'textarea',
						'title' => esc_html__('Contacts Form Shortcode:', 'beevent'),
						'compiler' => 'true',
						'desc' => esc_html__('Please Input Contact Form Shortcode.', 'beevent'),
						'default'  => '[contact-form-7 id="467" title="Contact Form 1 With PayPal"]'
					),
		array(
						'id'       => 'footer_style',
						'type' => 'image_select',
						'title'    => esc_html__('Select Footer Style', 'beevent'), 
						'desc'     => esc_html__('Please Select a Footer Style.', 'beevent'),
						'options'  => array(
							'footer_style_1' => get_template_directory_uri().'/assets/img/footer-3.png',
							'footer_style_2' => get_template_directory_uri().'/assets/images/footer2.png',
							'footer_style_3' => get_template_directory_uri().'/assets/img/footer-1.png',
						),
						'default'  => 'footer_style_3',						
					) ,
		array(
			'id' => 'footer_copyrights',
			'type' => 'text',
			'title' => esc_html__('Copy Right Text', 'beevent'),
			'compiler' => 'true',
			'desc' => esc_html__('Please Input copyrights.', 'beevent'),
			'default'  => esc_html__('Copyright', 'beevent').' © 2020-'.date("Y").' BeEvent. '.esc_html__('All Rights Reserved', 'beevent')
		),

	 )
));

// Social //

Redux::setSection( $opt_name, array(
	'title' => esc_html__('Social', 'beevent'),
	'desc' => esc_html__('Setup social profiles in footer.', 'beevent'),
	'id'    => 'footer-social-options',
	'subsection' => true,
	'fields' => array(
		array(
			'id' => 'footer_facebook',
			'type' => 'text',
			'title' => esc_html__('Facebook link', 'beevent'),
			'compiler' => 'true',
			'desc' => esc_html__('Input link to your facebook page.', 'beevent')
		),

		array(
			'id' => 'footer_twitter',
			'type' => 'text',
			'title' => esc_html__('Twitter link', 'beevent'),
			'compiler' => 'true',
			'desc' => esc_html__('Input link to your twitter page.', 'beevent')
		),

		array(
			'id' => 'footer_linkedin',
			'type' => 'text',
			'title' => esc_html__('Linkedin link', 'beevent'),
			'compiler' => 'true',
			'desc' => esc_html__('Input link to your Linkedin page.', 'beevent')
		),
		
		array(
			'id' => 'footer_instagram',
			'type' => 'text',
			'title' => esc_html__('instagram link', 'beevent'),
			'compiler' => 'true',
			'desc' => esc_html__('Input link to your instagram page.', 'beevent')
		),

		// array(
		// 	'id' => 'footer_google',
		// 	'type' => 'text',
		// 	'title' => esc_html__('Google+ link', 'beevent'),
		// 	'compiler' => 'true',
		// 	'desc' => esc_html__('Input link to your google+ page.', 'beevent')
		// ),
		
		array(
			'id' => 'footer_pinterest',
			'type' => 'text',
			'title' => esc_html__('Pinterest link', 'beevent'),
			'compiler' => 'true',
			'desc' => esc_html__('Input link to your pinterest page.', 'beevent')
		),
		array(
			'id' => 'footer_whatsapp_link',
			'type' => 'text',
			'title' => esc_html__('Whatsapp link', 'beevent'),
			'compiler' => 'true',
			'desc' => esc_html__('Input link to your whatsapp page.', 'beevent')
		),
		array(
			'id' => 'footer_youtube',
			'type' => 'text',
			'title' => esc_html__('Youtube link', 'beevent'),
			'compiler' => 'true',
			'desc' => esc_html__('Input link to your youtube page.', 'beevent')
		),
	)
));

///////////////////////////////////////////////////////////////////////////////////////////// 4. HOME PAGE  Slider//
Redux::setSection( $opt_name, array(
	'title'  => esc_html__('Countdown Timer  (Only For Single Event)', 'beevent'),
	'icon'   => 'el el-file-new-alt',
	'id'     => 'countdown-options',
	'fields' => array(
		array(
			'title' => esc_html__('Title', 'beevent'),
			'desc' => esc_html__('Description and image maybe.', 'beevent')
		),
		array(
					'id' => 'countdown_timer',
					'type' => 'date',
					'date-format' => 'M-d-y',
					'title' => esc_html__('Add Date Countdown Timer', 'beevent'),
					'compiler' => 'true',
					'default'=> '05/22/2024',
					'desc' => esc_html__('Examples:- mm/dd/yyyy', 'beevent')
				) ,
				
		array(
					'id' => 'countdown_shortcode',
					'type'   => 'info',
					'notice' => false,
					'style'  => 'info',
					'title'  => esc_html__('Countdown Shortcode: [countdown_timer]', 'beevent'),
					
				),
		
	)
));


///////////////////////////////////////////////////////////////////////////////////////////// //4. Coming Soon PAGE//

Redux::setSection( $opt_name, array(
	'title'  => esc_html__('Coming Soon', 'beevent'),
	'desc'   => esc_html__('coming Soon Page Settings.', 'beevent'),
	'icon'   => 'el el-file-new-alt',
	'id'     => 'comingsoon-options',
	'fields' => array(
		array(
			'title' => esc_html__('Title', 'beevent'),
			'desc' => esc_html__('Description and image maybe.', 'beevent')
		),
		array(
					'id' => 'coming_countdown_timer',
					'type' => 'date',
					'date-format' => 'M-d-y',
					'title' => esc_html__('Add Date Countdown Timer', 'beevent'),
					'compiler' => 'true',
					'default'=> '05/22/2024',
					'desc' => esc_html__('Examples:- mm/dd/yyyy', 'beevent')
				) ,
		array(
			'id' => 'coming_text',
			'type' => 'text',
			'title' => esc_html__('Page Content', 'beevent'),
			'compiler' => 'true',
			'default'=> 'Coming Soon',
			'desc' => esc_html__('Input coming soon page content.', 'beevent')
		),
		array(
					'id' => 'coming_image',
					'type' => 'media',
					'title' => esc_html__('Coming soon image', 'beevent'),
					'compiler' => 'true',
					'default' => array(
						'url' => esc_url(get_template_directory_uri() . '/assets/images/coming_back.jpg', 'beevent')
								)
					
				) ,		
		
	)
));

///////////////////////////////////////////////////////////////////////////////////////////// 4. HOME PAGE  Slider//

Redux::setSection( $opt_name, array(
	'title'  => esc_html__('404 Page', 'beevent'),
	'desc'   => esc_html__('404 Page Settings', 'beevent'),
	'icon'   => 'el el-question-sign',
	'id'     => 'errorpage-options',
	'fields' => array(
		array(
			'title' => esc_html__('Title', 'beevent'),
			'desc' => esc_html__('Description and image maybe.', 'beevent')
		),
		array(
				'id' => 'notfound_title',
				'type' => 'text',
				'title' => esc_html__('Page Not Found Title', 'beevent'),
				'compiler' => 'true',
				'default'=> 'Page Not Found',
				'desc' => esc_html__('Examples:- Page Not Found.', 'beevent')
			),
		array(
				'id' => 'notfound_error',
				'type' => 'textarea',
				'title' => esc_html__('Error Notice Text', 'beevent'),
				'compiler' => 'true',
				'default'=> 'Oops, Page Can not be Found',
			),
	)
));

	
///////////////////////////////////////////////////////////////////////////////////////////// 4. HOME PAGE  Slider//

Redux::setSection( $opt_name, array(
	'title'  => esc_html__('Map Settings', 'beevent'),
	'desc'   => esc_html__('Map Settings', 'beevent'),
	'icon'   => 'el el-map-marker-alt',
	'id'     => 'google-map-options',
	'fields' => array(
		array(
			'title' => esc_html__('Title', 'beevent'),
			'desc'  => esc_html__('Description and image maybe.', 'beevent')
		),
		array(
			'id'       => 'map_api',
			'type'     => 'text',
			'title'    => esc_html__('Google map API Key', 'beevent'),
			'compiler' => 'true',
			'default'  => 'AIzaSyAQsTHPE1hhsGg77C0BG8p5uIAIuFraE0w',
			'desc'     => esc_html__('Please enter your Google Map API key above.', 'beevent')
		),
		array(
			'id'       => 'map_option',
			'type'     => 'select',
			'title'    => esc_html__('Select Search Mode', 'beevent'), 
			'options'  => array(
				'openstreet' => esc_html__('OpenStreet Map', 'beevent'),
				'google'     => esc_html__('Google Map','beevent'),
				'mapbox'     => esc_html__('MapBox API','beevent'),
			),
			'default'  => 'openstreet'
		),
		array(
			'id'       => 'mapbox_token',
			'type'     => 'text',
			'title'    => esc_html__( 'Mapbox Token (Optional)', 'beevent' ),
			'subtitle' => esc_html__( 'Put here MapBox token, If you leave it empty then Google map will work', 'beevent' ),
			'required' => array( 
				array('map_option','equals','mapbox') 
			),
			'default'  => 'pk.eyJ1Ijoid2VibWFzdGVyZHJpdmVyIiwiYSI6ImNrMDJldm5rbDJsaGozYnV0Z3djeGUybzEifQ.hwW9ed8BbzPOiXM0CCNErA',
		),	
		array(
            'id'       => 'map_style',
            'type'     => 'image_select',
            'title'    => esc_html__('Mapbox Map style', 'beevent'), 
            'subtitle' => esc_html__('Select any style', 'beevent'),
			'required' => array( 
				array('map_option','equals','mapbox') 
			),
            'options'  => array(
                'streets-v8'      => array(
                    'alt'   => esc_html__('streets-basic','beevent'), 
                    'img'   => get_template_directory_uri().'/assets/images/map/streets-basic.png'
                ),
                'streets-v11'      => array(
                    'alt'   => esc_html__('streets','beevent'), 
                    'img'   => get_template_directory_uri().'/assets/images/map/streets.png'
                ),
                'outdoors-v11'      => array(
                    'alt'   => esc_html__('outdoors','beevent'),
                    'img'   => get_template_directory_uri().'/assets/images/map/outdoors.png'
                ),
				'light-v10'      => array(
                    'alt'   => esc_html__('light','beevent'),
                    'img'   => get_template_directory_uri().'/assets/images/map/light.png'
                ),
				'dark-v10'      => array(
                    'alt'   => esc_html__('dark', 'beevent'),
                    'img'   => get_template_directory_uri().'/assets/images/map/satellite.png'
                ),
				'satellite-v9'      => array(
                    'alt'   => esc_html__('satellite','beevent'), 
                    'img'   => get_template_directory_uri().'/assets/images/map/satellite.png'
                ),
            ),
            'default' => 'streets-v11'
        ),
	)
));

Redux::setSection( $opt_name, 
	array(
	    'title'  => esc_html__('Payment Settings', 'beevent' ),
	    'id'     => 'payment-settings',
	    'icon'   => 'el el-th',
	    'id'     => 'payment-options',
	    'fields' => array(
	    	array(
			   'id'           => 'headings-stripe',
			   'type'         => 'section',
			   'title'        => esc_html__( 'Stripe options', 'beevent' ),
			   'indent'       => true 
			),
			array(
	            'id' => 'enable_stripe',
	            'type' => 'switch',
	            'title' => esc_html__('Stripe', 'beevent'),
	            //'required' => array( 'enable_paid_submission', '!=', 'no' ),
	            'desc' => 'Enable to allow Stripe Payment',
	            'subtitle' => '',
	            'default' => 0,
	            'on' => esc_html__('Enabled', 'beevent'),
	            'off' => esc_html__('Disabled', 'beevent'),
	        ),
	        array(
	            'id' => 'stripe_api',
	            'type' => 'select',
	            'required' => array('enable_stripe', '=', '1'),
	            'title' => esc_html__('Api Type', 'beevent'),
	            'subtitle' => esc_html__('Sandbox = test API. LIVE = real payments API', 'beevent'),
	            'desc' => esc_html__('Select between Live and Sandbox. Sandbox is used for testing ', 'beevent'),
	            'options' => array(
	                'sandbox' => 'Sandbox',
	                'live' => 'Live',
	            ),
	            'default' => 'sandbox',
	        ),
	        array(
	            'id' => 'stripe_secrit_key',
	            'type' => 'text',
	            'required' => array('enable_stripe', '=', '1'),
	            'title' => esc_html__('Secret Key', 'beevent'),
	            'subtitle' => '',
	            'desc' => 'Get your key here <br> https://stripe.com/docs/api/tokens/create_card',
	            'default' => '',
	        ),
	        array(
	            'id' => 'stripe_pubishable_key',
	            'type' => 'text',
	            'required' => array('enable_stripe', '=', '1'),
	            'title' => esc_html__('Publishable Key', 'beevent'),
	            'subtitle' => '',
	            'desc' => 'Get your key here <br> https://stripe.com/docs/api/tokens/create_card',
	            'default' => '',
	        ),
			array(
			   'id'           => 'headings-paystack',
			   'type'         => 'section',
			   'title'        => esc_html__( 'Paystack options', 'beevent' ),
			   'indent'       => true 
			),
			array(
	            'id'       => 'enable_paystack',
	            'type'     => 'switch',
	            'title'    => esc_html__('Paystack', 'beevent'),
	            'desc'     => 'Enable to allow Paystack Payment',
	            'subtitle' => '',
	            'default'  => 0,
	            'on'       => esc_html__('Enabled', 'beevent'),
	            'off'      => esc_html__('Disabled', 'beevent'),
	        ),
	        array(
	            'id'       => 'paystack_api',
	            'type'     => 'select',
	            'required' => array('enable_paystack', '=', '1'),
	            'title'    => esc_html__('Api Type', 'beevent'),
	            'subtitle' => esc_html__('Sandbox = test API. LIVE = real payments API', 'beevent'),
	            'desc'     => esc_html__('Select between Live and Sandbox. Sandbox is used for testing ', 'beevent'),
	            'options'  => array(
	                'sandbox' => 'Sandbox',
	                'live'    => 'Live',
	            ),
	            'default'  => 'sandbox',
	        ),
	        array(
	            'id'       => 'paystack_secrit_key',
	            'type'     => 'text',
	            'required' => array('enable_paystack', '=', '1'),
	            'title'    => esc_html__('Secret Key', 'beevent'),
	            'subtitle' => '',
	            'desc'     => 'Get your key from <a href="https://dashboard.paystack.com/">here</a>',
	            'default'  => '',
	        ),
	        array(
	            'id'       => 'paystack_pubishable_key',
	            'type'     => 'text',
	            'required' => array('enable_paystack', '=', '1'),
	            'title'    => esc_html__('Publishable Key', 'beevent'),
	            'subtitle' => '',
	            'desc'     => 'Get your key from <a href="https://dashboard.paystack.com/">here</a>',
	            'default'  => '',
	        ),
			array(
			   'id'           => 'headings-payfast',
			   'type'         => 'section',
			   'title'        => esc_html__( 'Payfast options', 'beevent' ),
			   'indent'       => true 
			),
			// array(
	  //           'id'     => 'payfast_notice',
	  //           'type'   => 'info',
	  //           'notice' => false,
	  //           'style'  => 'info',
	  //           'title'  => wp_kses(__( 'To enable Payfast Payment Gateway you need to select Payment "Currency For Paid Submission" is "ZAR" first. Then you are able to use Payfast Payment Gateway Options.', 'beevent' ), $allowed_html_array),
	  //       ),
	        array(
	            'id'       => 'enable_payfast',
	            'type'     => 'switch',
	            'title'    => esc_html__('Payfast', 'beevent'),
	            'desc'     => 'Enable to allow Payfast Payment',
	            'subtitle' => '',
	            'default'  => 0,
	            'on'       => esc_html__('Enabled', 'beevent'),
	            'off'      => esc_html__('Disabled', 'beevent'),
	        ),
	        array(
	            'id'       => 'payfast_api',
	            'type'     => 'select',
	            'required' => array('enable_payfast', '=', '1'),
	            'title'    => esc_html__('Api Type', 'beevent'),
	            'subtitle' => esc_html__('Sandbox = test API. LIVE = real payments API', 'beevent'),
	            'desc'     => esc_html__('Select between Live and Sandbox. Sandbox is used for testing ', 'beevent'),
	            'options'  => array(
	                'sandbox' => 'Sandbox',
	                'live'    => 'Live',
	            ),
	            'default'  => 'sandbox',
	        ),
	        array(
	            'id'       => 'payfast_merchant_id',
	            'type'     => 'text',
	            'required' => array('enable_payfast', '=', '1'),
	            'title'    => esc_html__('Merchant ID', 'beevent'),
	            'subtitle' => '',
	            'desc'     => 'Get your merchant id from <a href="https://developers.payfast.co.za/">here</a>',
	            'default'  => '',
	        ),
	        array(
	            'id'       => 'payfast_merchant_key',
	            'type'     => 'text',
	            'required' => array('enable_payfast', '=', '1'),
	            'title'    => esc_html__('Merchant Key', 'beevent'),
	            'subtitle' => '',
	            'desc'     => 'Get your merchant key from <a href="https://developers.payfast.co.za/">here</a>',
	            'default'  => '',
	        ),
	    )
    )
);

Redux::setSection( $opt_name, 
	array(
		'title'            => esc_html__('APP Setup', 'beevent' ),
		'id'               => 'APP settings',
		'customizer_width' => '400px',
		'icon'             => 'el el-th',
		'id'               => 'appsetup-options',
		'fields'           => array(
			array(
                'id'       => 'security_key',
                'type'     => 'text',
				'style'	   => 'info',
				'readonly' => true,
                'title'    => esc_html__( 'Protected Key:', 'beevent' ),
					'default' => $random,
            ),	
			array(
	            'id'       => 'enable_app',
	            'type'     => 'switch',
	            'title'    => esc_html__( 'Enable Android APP', 'beevent' ),
	            'desc'     => '',
	            'subtitle' => '',
	            'default'  => 0,
	            'on'       => esc_html__( 'Enabled', 'beevent' ),
	            'off'      => esc_html__( 'Disabled', 'beevent' ),
	        ),
	        array(
	            'id'     => 'download_app',
	            'type'   => 'info',
	            'required' => array( 'enable_app', 'equals', array( '1' ) ),
	            'notice' => false,
	            'style'  => 'info',
	            'title'  => wp_kses(__( '<a href="http://themes.webmasterdriver.net/beevent/android/app-debug.apk" class="btn btn-primary">Download APP</a>', 'beevent' ), $allowed_html_array),
	            'subtitle' => esc_html__('You can download android app on clicking above dowload button', 'beevent'),
	        ),
	        array(
	            'id'       => 'enable_app_ios',
	            'type'     => 'switch',
	            'title'    => esc_html__( 'Enable IOS APP', 'beevent' ),
	            'desc'     => '',
	            'subtitle' => '',
	            'default'  => 0,
	            'on'       => esc_html__( 'Enabled', 'beevent' ),
	            'off'      => esc_html__( 'Disabled', 'beevent' ),
	        ),
	        array(
	            'id'     => 'download_ios_app',
	            'type'   => 'info',
	            'required' => array( 'enable_app_ios', 'equals', array( '1' ) ),
	            'notice' => false,
	            'style'  => 'info',
	            'title'  => wp_kses(__( '<a href="https://apps.apple.com/us/app/beevent/id1591165728" class="btn btn-primary">Download APP</a>', 'beevent' ), $allowed_html_array),
	            'subtitle' => esc_html__('You can download ios app on clicking above dowload button', 'beevent'),
	        ),
			array(
	                'id'       => 'app_logo',
	                'type'     => 'media',
	                'title'    => esc_html__('APP Logo', 'beevent'),
	                'compiler' => 'true',
	                'desc'     => esc_html__('Upload APP Logo', 'beevent'),
	                'default' => array(
					'url' => esc_url(get_template_directory_uri() . '/assets/images/logo.png', 'beevent')
									)
            ),
			array(
                'id'       => 'splash_color',
                'type'     => 'color',
                'title'    => esc_html__('Splash Screen Color', 'beevent'), 
                'default'  => '#de302f',
                'transparent' => false,
                'validate' => 'color',
            ),
			array(
                'id'       => 'app_title',
                'type'     => 'text',
                'title'    => esc_html__( 'App Title', 'beevent' ),
					'default' => get_bloginfo('name', 'display'),
            ),
			array(
                'id'       => 'app_url',
                'type'     => 'text',
				'readonly' => true,
                'title'    => esc_html__( 'App URL', 'beevent' ),
                'subtitle' => esc_html__( 'Add Url which you run into APP', 'beevent' ),
                'validate' => 'url',
					'default' => ''.esc_url(get_site_url()).'/',
            ),
		)
	)
);
	
	
/////////////////////////////////////////////////////////////////////////////////////////// 8. Blgo Page //

Redux::setSection( $opt_name, array(
	'title' => esc_html__('Blog Page', 'beevent'),
	'id'    => 'blogpage-options',
	'desc'  => esc_html__('Blog Page Settings', 'beevent'),
	'icon'  => 'el el-credit-card',
));

////////////////////////////////////////////////////////////////////////////////////////////////////////////

Redux::setSection( $opt_name, array(
	'title' => esc_html__('Blog Page Style', 'beevent'),
	'desc' => esc_html__('Setup Blog Page Style details here.', 'beevent'),
	'id'    => 'blogpage-style-options',
	'subsection' => true,
	'fields' => array(
	
	
					array(
							'id' => 'blog-style',
							'type' => 'image_select',
							'options' => array(
								'blgoRight' => get_template_directory_uri().'/assets/images/2cr.png',
								'blgoLeft' => get_template_directory_uri().'/assets/images/2cl.png',
								'blgoGrid' => get_template_directory_uri().'/assets/images/1col.png'
							),

							'title' => 'Blog Page Side Bar Layout',
							'default' => 'blgoRight'
        			),
				
					// array(
							// 'id' => 'blog-single-title',
							// 'type' => 'text',
							// 'title' => esc_html__('Blog Single Post Title', 'beevent'),
							// 'compiler' => 'true',
							// 'desc' => esc_html__('Please Input your Blog Single Post Title.', 'beevent'),
							// 'default'=> 'Event Industry Latest Updates',

						// ),
						
						// array(

							// 'id' => 'blog-page-title',
							// 'type' => 'text',
							// 'title' => esc_html__('Blog Page Title', 'beevent'),
							// 'compiler' => 'true',
							// 'desc' => esc_html__('Please Input your Blog Page Title.', 'beevent'),
							// 'default'=> 'Event Industry Latest Updates',
						// ),
	)
));

Redux::setSection( $opt_name, array(
	'title' => esc_html__('Blog Single', 'beevent'),
	'desc' => esc_html__('Setup Blog Single Page  Settings here.', 'beevent'),
	'id'    => 'blogpage-single-options',
	'subsection' => true,
	'fields' => array(
	
					array(
						'subtitle' => 'Show Tags and Socials Icon at bottom of single post',
						'id' => 'show_social_post',
						'type' => 'switch',
						'title' => 'Show Tags and Socials Icon',
						'default' => true
					),
					
					array(
						'subtitle' => 'Show Comments at bottom of single post',
						'id' => 'comments_template',
						'type' => 'switch',
						'title' => 'Show Comments ',
						'default' => true
					),
					
       				 array(
						'subtitle' => 'Previous/Next Pagination',
						'id' => 'show_navigation_post',
						'type' => 'switch',
						'title' => 'Previous/Next Pagination',
						'default' => true
        			),	
	)
));

ZeroDay Forums Mini