Hacked By AnonymousFox

Current Path : /home/allslyeo/Jekasbbq.com/wp-content/themes/mineral/functions/options/
Upload File :
Current File : /home/allslyeo/Jekasbbq.com/wp-content/themes/mineral/functions/options/general.php

<?php
/**
 * This file contains the main general settings for the theme.
 */

$sociable_icons=array( 'facebook.png', 'twitter.png', 'googleplus.png', 'rss.png', 
	'pinterest.png', 'flickr.png', 'delicious.png', 'skype.png', 'youtube.png', 
	'vimeo.png', 'blogger.png', 'linkedin.png', 'myspace.png', 'reddit.png', 
	'dribbble.png', 'forrst.png', 'deviant-art.png', 'digg.png', 'github.png', 
	'lastfm.png', 'sharethis.png', 'stumbleupon.png', 'tumblr.png', 'wordpress.png', 
	'yahoo.png', 'amazon.png', 'apple.png', 'bing.png', 'instagram.png', '500px.png');
foreach ( $sociable_icons as $key=>$value ) {
	$sociable_icons[$key]=PEXETO_FRONT_IMAGES_URL.'icons/'.$value;
}

global $pexeto_content_sizes;

$pexeto_init_options= array( array(
		'name' => 'General Settings',
		'type' => 'title',
		'img' => 'icon-settings'
	),

	array(
		'type' => 'open',
		'subtitles'=>array(
			array( 'id'=>'main', 'name'=>'Main' ),
			array( 'id'=>'footer', 'name'=>'Footer' ),
			array( 'id'=>'sidebar', 'name'=>'Sidebars' ),
			array( 'id'=>'social', 'name'=>'Social' ),
			array( 'id'=>'seo', 'name'=>'SEO' ),
			array( 'id'=>'contact', 'name'=>'Contact Form' )
		)
	),

	/* ------------------------------------------------------------------------*
	 * MAIN SETTINGS
	 * ------------------------------------------------------------------------*/

	array(
		'type' => 'subtitle',
		'id'=>'main'
	),

	array(
		'type' => 'documentation',
		'text' => '<h3>Logo</h3>'
	),


	array(
		'name' => 'Logo image',
		'id' => 'logo_image',
		'type' => 'upload'
	));

if(pexeto_option('retina_logo_image')){

	$pexeto_init_options[]=array(
		'name' => 'Retina display logo image',
		'id' => 'retina_logo_image',
		'type' => 'upload',
		'desc' => 'You can set a custom logo image for retina displays. 
		The image size for retina displays should be twice the size of the 
		regular logo - for example if the standard logo image size is 30x70 pixels, 
		the size of the retina display logo image should be 60x140 pixels. 
		If you leave this field empty, the image set in 
		the \'Logo Image\' field above will be used.'
	);

};

$pexeto_general_options = array_merge($pexeto_init_options, array(

	array(
		'name' => 'Custom logo image width',
		'id' => 'logo_width',
		'suffix' => 'px',
		'type' => 'text',
		'desc' => 'The logo image width in pixels- default:133'
	),

	array(
		'name' => 'Custom logo image height',
		'id' => 'logo_height',
		'suffix' => 'px',
		'type' => 'text',
		'desc' => 'The logo image height in pixels - by default the
		logo height would depend on the original logo image ratio.'
	),

	array(
		'type' => 'documentation',
		'text' => '<h3>Translation</h3>'
	),

	array(
		'name' => 'Default locale',
		'id' => 'locale',
		'type' => 'text',
		'desc' => 'This is the default language locale. If you would like to set
		another default language (other than US English) and you are not using any
		language plugins, you can set the language locale here. Example value:
		<b>de_DE</b> for German.<br/> For more information
		 please refer to the "Translation" section of the documentation.'
	),

	array(
		'name' => 'Load translation files from',
		'id' => 'load_translation',
		'type' => 'select',
		'options' => array( 
			array( 'id'=>'theme', 'name'=>'Theme folder' ), 
			array( 'id'=>'child', 'name'=>'Child theme folder' ) ),
		'std' => 'theme',
		'desc' => 'If you have genereated .mo
		files with translation(s) for the theme, you can select the location to load
		the translation files from. If you have a child theme activated for the theme,
		it is recommended to select the "Child theme folder" option and save the
		.mo files within the "lang" folder of the child theme. In this way,
		the .mo files will remain saved even after a theme update which replaces
		all the theme files.'
	),



	array(
		'type' => 'documentation',
		'text' => '<h3>Other</h3>'
	),

	array(
		'name' => 'Responsive layout on mobile devices',
		'id' => 'responsive_layout',
		'type' => 'checkbox',
		'std' => true,
		'desc' => 'If you disable this option, the mobile devcies will display
		the layout with their original viewport.'
	),

	array(
		'name' => 'Sticky Header',
		'id' => 'sticky_header',
		'type' => 'checkbox',
		'std' => false,
		'desc' => 'If enabled, the header that contains the logo and menu
		will be always displayed, even when the user scrolls down the page.'
	),

	array(
		'name' => 'Favicon image URL',
		'id' => 'favicon',
		'type' => 'upload',
		'desc' => 'Upload a favicon image - with .ico extention.'
	),


	array(
		'name' => 'Enable AJAX in gallery and portfolio items',
		'id' => 'portfolio_ajax',
		'type' => 'checkbox',
		'std' => true,
		'desc' => 'If enabled, the items within the galleries and portfolio items
			will be loaded with AJAX. However, if you prefer to have the page 
			refreshed when a new item has been selected and not load the data 
			with AJAX, you can disable this option.'
	),



	array(
		'name' => 'Disable right click',
		'id' => 'disable_click',
		'type' => 'checkbox',
		'std' => false,
		'desc' => 'If "ON" selected, right click will be disabled for the theme 
			in order to add copyright protection to images.'
	),
	
	array(
		'name' => 'Show scroll to top button',
		'id' => 'show_scroll_btn',
		'type' => 'checkbox',
		'std' => true
	),


	array(
		'name' => 'Google Analytics Code',
		'id' => 'analytics',
		'type' => 'textarea',
		'desc' => 'You can insert your generated Google Analytics code here'
	),

	array(
		'type' => 'close' ),

	/* ------------------------------------------------------------------------*
	 * FOOTER
	 * ------------------------------------------------------------------------*/

	array(
		'type' => 'subtitle',
		'id'=>'footer'
	),


	array(
		'name' => 'Footer Layout',
		'id' => 'footer_layout',
		'type' => 'select',
		'options' => array( 
			array( 'id'=>'4', 'name'=>'Four columns' ), 
			array( 'id'=>'3', 'name'=>'Three columns' ), 
			array( 'id'=>'2', 'name'=>'Two columns' ), 
			array( 'id'=>'1', 'name'=>'One column' ), 
			array( 'id'=>'no-footer', 'name'=>'No widgetized footer' ) ),
		'std' => '4'
	),

	
	// array(
	// 	'name' => 'Footer Copyright text',
	// 	'id' => 'copyright_text',
	// 	'type' => 'text',
	// 	'std' => 'Copyright &copy; '.PEXETO_THEMENAME.' by Pexeto'
	// ),


	array(
		'type' => 'documentation',
		'text' => '<h3>Call to action section</h3>'
	),

	array(
		'name' => 'Show call to action section above footer columns',
		'id' => 'show_ca',
		'type' => 'checkbox',
		'std' => true
	),

	array(
		'name' => 'Use texts for this section from translated PO file(s)',
		'id' => 'ca_use_po',
		'type' => 'checkbox',
		'std' => false,
		'desc' => 'If enabled, you can set the "Call to action" section texts
		within the provided .po/.mo file for translation. This option should be
		enabled when multiple languages are set to the site. When this option
		is disabled, the texts set in the fields below will be used.'
	),

	array(
		'name' => 'Title',
		'id' => 'ca_title',
		'type' => 'text'
	),

	array(
		'name' => 'Description',
		'id' => 'ca_desc',
		'type' => 'textarea'
	),

	array(
		'name' => 'Button text',
		'id' => 'ca_btn_text',
		'type' => 'text'
	),

	array(
		'name' => 'Button link',
		'id' => 'ca_btn_link',
		'type' => 'text'
	),

	array(
		'type' => 'close' ),

	/* ------------------------------------------------------------------------*
	 * SIDEBARS
	 * ------------------------------------------------------------------------*/

	array(
		'type' => 'subtitle',
		'id'=>'sidebar'
	),

	array(
		'name'=>'Add Sidebar',
		'id'=>'sidebars',
		'type'=>'custom',
		'button_text'=>'Add Sidebar',
		'editable' => false,
		'fields'=>array(
			array( 'id'=>'name', 'type'=>'text', 'name'=>'Sidebar Name', 'required'=>true )
		),
		'bind_to'=>array(
			'ids'=>array( 'post_sidebar', 'archive_sidebar', 'portfolio_sidebar' ),
			'links'=>array( 'id'=>'name', 'name'=>'name' )
		),
		'desc'=>'In this section you can create additional custom sidebars.
		Then for each page you will be able to assign a different sidebar.'
	),

	array(
		'type' => 'close' ),




	/* ------------------------------------------------------------------------*
	 * SOCIAL SHARING
	 * ------------------------------------------------------------------------*/

	array(
		'type' => 'subtitle',
		'id'=>'social'
	),

	array(
		'type' => 'documentation',
		'text' => '<h3>Social Sharing Buttons</h3>'
	),


	array(
		'name' => 'Display sharing buttons on',
		'id' => 'show_share_buttons',
		'type' => 'multicheck',
		'options' => array(
			array( 'id'=>'page', 'name'=>'Pages' ),
			array( 'id'=>'post', 'name'=>'Posts' ),
			array( 'id'=>'portfolio', 'name'=>'Portfolio posts' ),
			array( 'id'=>'slider', 'name'=>'Gallery/Portfolio slider' ) ),
		'class'=>'include',
		'std' => array( 'post', 'slider' ) )
	,

	array(
		'name' => 'Sharing buttons',
		'id' => 'share_buttons',
		'type' => 'multicheck',
		'options' => array(
			array( 'id'=>'facebook', 'name'=>'Facebook' ),
			array( 'id'=>'twitter', 'name'=>'Twitter' ),
			array( 'id'=>'googlePlus', 'name'=>'Google+' ),
			array( 'id'=>'pinterest', 'name'=>'Pinterest' ) ),
		'class'=>'include',
		'desc' => 'You can select which sharing buttons to be displayed on the
		social share section of the pages/posts',
		'std' => array( 'facebook', 'twitter', 'googlePlus', 'pinterest' ) )
	,

	array(
		'name' => 'Google+ button language code',
		'id' => 'gplus_lang',
		'type' => 'text',
		'desc' => 'The language code of the text that will be related with the 
			Google+ button functionality. You can get the list with all available 
			language codes here: 
			https://developers.google.com/+/plugins/+1button/#available-languages',
		'std' => 'en-US'
	),


	array(
		'type' => 'documentation',
		'text' => '<h3>Header Social Icons</h3>'
	),


	array(
		'name'=>'Add a social icon',
		'id'=>'sociable_icons',
		'type'=>'custom',
		'button_text'=>'Add Icon',
		'preview'=>'icon_url',
		'fields'=>array(
			array( 'id'=>'icon_url', 'type'=>'imageselect', 'name'=>'Select Icon', 'options'=>$sociable_icons ),
			array( 'id'=>'icon_link', 'type'=>'text', 'name'=>'Social Site Link' ),
			array( 'id'=>'icon_title', 'type'=>'text', 'name'=>'Hover title (optional)' )
		)
	),


	array(
		'type' => 'close' ),


	/* ------------------------------------------------------------------------*
	 * SEO
	 * ------------------------------------------------------------------------*/

	array(
		'type' => 'subtitle',
		'id'=>'seo'
	),

	array(
		'type' => 'documentation',
		'text' => '<div class="note_box">
			 <b>Note: </b> This section contains some basic SEO options. For more 
			 advanced options, you may consider using an SEO plugin - some plugins 
			 that we recommend are <a href="http://wordpress.org/extend/plugins/wordpress-seo/">
			 WordPress SEO by Yoast</a> and 
			 <a href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/">
			 All in One SEO Pack</a></div>'
	),

	array(
		'name' => 'Site keywords',
		'id' => 'seo_keywords',
		'type' => 'text',
		'desc' => 'The main keywords that describe your site, separated by commas. 
			Example:<br /><i>photography,design,art</i>'
	),

	array(
		'name' => 'Page title separator',
		'id' => 'seo_serapartor',
		'type' => 'text',
		'std' => '|',
		'desc' => 'Separates the different title parts'
	),

	array(
		'name' => 'Exclude pages from indexation',
		'id' => 'seo_indexation',
		'type' => 'multicheck',
		'options' => array( 
			array( 'id'=>'category', 'name'=>'Category Archive' ), 
			array( 'id'=>'date', 'name'=>'Date Archive' ), 
			array( 'id'=>'tag', 'name'=>'Tag Archive' ), 
			array( 'id'=>'author', 'name'=>'Author Archive' ), 
			array( 'id'=>'search', 'name'=>'Search Results' ),
			array( 'id'=>'pgcategory', 'name'=>'Gallery Category Filter' ) ),
		'class'=>'include',
		'desc' => 'Pages, such as archives pages, display some duplicate content 
			- for example, the same post can be found on your main Blog
			page, but also in a category archive, date archive, etc. Some search 
			engines are reported to penalize sites associated with too much duplicate
			content. Therefore, excluding the pages from this option will remove 
			the search engine indexiation by adding "noindex" and "nofollow" meta 
			tags which would prevent the search engines to index this duplicate content. 
			By default, all the pages are indexed, if you would like to prevent 
			indexation on some pages, just select them in this list.' ),

	array(
		'type' => 'close' ),


	/* ------------------------------------------------------------------------*
	 * CONTACT PAGE SETTINGS
	 * ------------------------------------------------------------------------*/

	array(
		'type' => 'subtitle',
		'id'=>'contact'
	),

	array(
		'name' => 'Email to which to send contact form message',
		'id' => 'email',
		'type' => 'text' ),

	array(
		'name' => 'Email sender',
		'id' => 'email_from',
		'type' => 'text',
		'desc' => '<b>Important:</b> Please do not leave this field empty.<br/>
		Set a custom email address that will be set as a sender of the email.<br/>
		Yahoo has recently published a DMARC policy of reject, meaning
		that all the emails that are sent from Yahoo emails, but not from the Yahoo servers,
		should be rejected by the email providers.<br/>
		This means that if your site visitor sets a Yahoo email and this email is set as a
		sender, you may not be able to receive the email (depending on the email provider that you use
			to receive the messages).<br/>
		Therefore, please make sure to set your custom email address in this field (such as noreply@domain.com, non-Yahoo address),
		so that you can receive emails from Yahoo users.' ),

	array(
		'name' => 'Enable data collection consent checkbox',
		'id' => 'contact_privacy_checkbox',
		'type' => 'checkbox',
		'std' => false,
		'desc' => 'When enabled, a checkbox requesting consent for 
			storing and using the visitor\'s personal data that they submit with the contact form, will be added to the
			contact form. The visitor will need to check this box in order to send the message.'
	),

	array(
		'name' => 'Data collection consent message',
		'id' => 'contact_privacy_message',
		'type' => 'text',
		'std' => sprintf("I consent to %s storing and using my personal data submitted with this form to get back in touch with me.", pexeto_get_site_domain()),
		'desc' => 'You can use HTML code if needed to link to your privacy page.'
	),

	array(
		'type' => 'documentation',
		'text' => '<h3>CAPTCHA Settings</h3>'
	),

	array(
		'name' => 'Enable CAPTCHA',
		'id' => 'captcha',
		'type' => 'checkbox',
		'std' => false,
		'desc' => 'reCAPTCHA will protect your contact form from spam emails 
			that are generated from robots. If this field is enabled, a CAPTCHA 
			form will be added to the bottom of the contact form. The user will 
			have to click on the checkbox in order to prove 
			that he/she is a real human and not a spamming robot.<br /> Please 
			note that you have to also set the "reCAPTCHA public Key" and 
			"reCAPTCHA private Key" fields below.'
	),

	array(
		'name' => 'reCAPTCHA Site Key',
		'id' => 'captcha_v2_site_key',
		'type' => 'text',
		'desc' => 'In order to use the reCAPTCHA service you need to register site and 
			secret keys - you can do it on this page:<br/>
			https://www.google.com/recaptcha/admin#list <br/>
			For more information you can refer to the "Contact Page" section 
			of the documentation.'
	),

	array(
		'name' => 'reCAPTCHA Secret Key',
		'id' => 'captcha_v2_secret_key',
		'type' => 'text',
		'desc' => 'In order to use the reCAPTCHA service you need to register site 
			and secret keys - you can do it on this page:<br/>
			https://www.google.com/recaptcha/admin#list <br/>
			For more information you can refer to the "Contact Page" section of 
			the documentation.'
	),

	array(
		'name' => '(Deprecated) reCAPTCHA Public Key',
		'id' => 'captcha_public_key',
		'type' => 'text',
		'desc' => 'This option has been deprecated. Please use the reCAPTCHA Site Key
		option instead.'
	),

	array(
		'name' => '(Deprecated) reCAPTCHA Private Key',
		'id' => 'captcha_private_key',
		'type' => 'text',
		'desc' => 'This option has been deprecated. Please use the reCAPTCHA Secret Key
		option instead.'
	),

	array(
		'name' => 'reCAPTCHA Widget Theme',
		'id' => 'captcha_v2_theme',
		'type' => 'select',
		'options' => array( 
			array( 'id'=>'light', 'name'=>'Light' ), 
			array( 'id'=>'dark', 'name'=>'Dark' )
		),
		'std' => 'light'
	),
	
	array(
		'name' => 'reCAPTCHA Language Code',
		'id' => 'captcha_v2_language_code',
		'type' => 'text',
		'desc' => '(Optional) If left empty, the reCaptcha widget will automatically detect the user\'s language.
		To explicitly set a language to be loaded, enter the corresponding language code - here is the full codes reference: 
		https://developers.google.com/recaptcha/docs/language'
	),

	array(
		'type' => 'close' ),


	array(
		'type' => 'close' ) )
);

$pexeto->options->add_option_set( $pexeto_general_options );

Hacked By AnonymousFox1.0, Coded By AnonymousFox