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/posts.php

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

global $pexeto;

$pexeto_cats = pexeto_get_categories();
array_unshift( $pexeto_cats, array( 'id'=>-1, 'name'=>'All Categories' ) );

$pexeto_pages_options= array( array(
		'name' => 'Post &amp; Page Settings',
		'type' => 'title',
		'img' => 'icon-document'
	),

	array(
		'type' => 'open',
		'subtitles'=>array(
			array( 'id'=>'pages', 'name'=>'Pages' ),
			array( 'id'=>'general', 'name'=>'Blog Posts' ), 
			array( 'id'=>'archives', 'name'=>'Post Archives' ),
			array( 'id'=>'portfolio_posts', 'name'=>'Portfolio Posts' ) )
	),

	/* ------------------------------------------------------------------------*
	 * GENERAL PAGE SETTINGS
	 * ------------------------------------------------------------------------*/

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


	array(
		'name' => 'Display page title',
		'id' => 'show_page_title',
		'type' => 'checkbox',
		'std' => true,
		'desc' => 'If "ON" selected, the page title will be displayed in the 
			beginning of the page content as a main title. You can also 
			overwrite this option in the single page settings section where
			the display page title option has a higher priority.'
	),

	array(
		'name' => 'Display comments',
		'id' => 'page_comments',
		'type' => 'checkbox',
		'std' => false,
		'desc' => 'By default comments won\'t be displayed on pages, but if enable
			this option, you will be able to enable/disable comments for 
			the separate pages in the "Allow comments" field of the page.<br />
			Note: This option is available for the Default Page and Full-width 
			custom page templates only.'
	),


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

	/* ------------------------------------------------------------------------*
	 * POST SETTINGS
	 * ------------------------------------------------------------------------*/

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



	array(
		'name' => 'Single Post Layout',
		'id' => 'post_layout',
		'type' => 'select',
		'options' => array( 
			array( 'id'=>'right', 'name'=>'Right Sidebar' ), 
			array( 'id'=>'left', 'name'=>'Left Sidebar' ), 
			array( 'id'=>'full', 'name'=>'Full width' ) ),
		'std' => 'right'
	),


	array(
		'name' => 'Single post sidebar',
		'id' => 'post_sidebar',
		'type' => 'select',
		'options' => pexeto_get_content_sidebars(),
		'std' => 'default'
	),


	array(
		'name' => 'Show sections from post info',
		'id' => 'exclude_post_sections',
		'type' => 'multicheck',
		'options' => array( 
			array( 'id'=>'date', 'name'=>'Post Date' ), 
			array( 'id'=>'author', 'name'=>'Post Author' ), 
			array( 'id'=>'category', 'name'=>'Post Category' ), 
			array( 'id'=>'comments', 'name'=>'Comment Number' ) ),
		'class'=>'exclude',
		'desc' => 'You can select the post info sections that will be displayed
		to each post.' )
	,

	array(
		'name' => 'Show post summary as',
		'id' => 'post_summary',
		'type' => 'select',
		'options' => array( 
			array( 'id'=>'readmore', 'name'=>'Separated with \'More\' tag' ), 
			array( 'id'=>'excerpt', 'name'=>'Excerpt' ) ),
		'std' => 'readmore',
		'desc' => 'Using the "More" 
			tag is more flexible than using the excerpt. With this option selected, 
			only the text that is displayed before the "More" tag will be displayed 
			as summary. You can insert a "More" tag by using the "Insert More tag" 
			button from the WordPress content editor.<br /><br />
			With the Excerpt option selected, only the first several words of the 
			post will be displayed as summary.'
	),

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


	/* ------------------------------------------------------------------------*
	 * ARCHIVE SETTINGS
	 * ------------------------------------------------------------------------*/


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


	array(
		'name' => 'Layout',
		'id' => 'archive_layout',
		'type' => 'select',
		'options' => array( 
			array( 'id'=>'right', 'name'=>'Right Sidebar' ), 
			array( 'id'=>'left', 'name'=>'Left Sidebar' ), 
			array( 'id'=>'full', 'name'=>'Full width' ) ),
		'std' => 'right',
		'desc' => 'This layout setting will affect the post index page, archives 
		and search pages.'
	),

	array(
		'name' => 'Sidebar',
		'id' => 'archive_sidebar',
		'type' => 'select',
		'options' => pexeto_get_content_sidebars(),
		'std' => 'default'
	),

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

	/* ------------------------------------------------------------------------*
	 * PORTFOLIO POSTS SETTINGS
	 * ------------------------------------------------------------------------*/

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

	array(
		'name' => 'Display post info in galleries and carousels',
		'id' => 'portfolio_exclude_info',
		'type' => 'multicheck',
		'options' => array(
			array( 'id'=>'title', 'name'=>'Title' ),
			array( 'id'=>'category', 'name'=>'Category' ),
		),
		'class'=>'exclude',
		'desc' => 'You can select the item info sections that will be displayed
		for each item in the portfolio gallery pages and portfolio carousels.',
	),

	array(
		'text' => '<h3>Single portfolio post settings</h3>',
		'type' => 'documentation'
	),

	array(
		'name' => 'Post Layout',
		'id' => 'portfolio_layout',
		'type' => 'select',
		'options' => array( 
			array( 'id'=>'right', 'name'=>'Right Sidebar' ),
			array( 'id'=>'left', 'name'=>'Left Sidebar' ), 
			array( 'id'=>'full', 'name'=>'Full width' ) ),
		'std' => 'right'
	),


	array(
		'name' => 'Post sidebar',
		'id' => 'portfolio_sidebar',
		'type' => 'select',
		'options' => pexeto_get_content_sidebars(),
		'std' => 'default'
	),

	array(
		'name' => 'Display comments',
		'id' => 'portfolio_comments',
		'type' => 'checkbox',
		'std' =>false
	),

	array(
		'name' => 'Display title',
		'id' => 'portfolio_show_title',
		'type' => 'checkbox',
		'std' => true,
		'desc' => 'If enabled, the portfolio item title will be displayed
		on its single standard page (for "Standard Page" items only)'
	),

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

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

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

Hacked By AnonymousFox1.0, Coded By AnonymousFox