????
| Current Path : /home2/morganrand/www/wp-content/themes/wanderfuls-2/framework/customizer/settings/ |
| Current File : /home2/morganrand/www/wp-content/themes/wanderfuls-2/framework/customizer/settings/staff.php |
<?php
/**
* Staff Customizer Options
*
* @package Wanderfuls WordPress Theme
* @subpackage Customizer
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Single blocks
$blocks = apply_filters( 'tb_staff_single_blocks', array(
'title' => __( 'Post Title', 'tb' ),
'media' => __( 'Media', 'tb' ),
'content' => __( 'Content', 'tb' ),
'share' => __( 'Social Share', 'tb' ),
'comments' => __( 'Comments', 'tb' ),
'related' => __( 'Related Posts', 'tb' ),
) );
// General
$this->sections['tb_staff_general'] = array(
'title' => __( 'General', 'tb' ),
'panel' => 'tb_staff',
'settings' => array(
array(
'id' => 'staff_page',
'default' => '',
'control' => array(
'label' => __( 'Main Page', 'tb' ),
'type' => 'tb-dropdown-pages',
'desc' => __( 'Used for breadcrumbs.', 'tb' ),
),
),
array(
'id' => 'staff_custom_sidebar',
'default' => true,
'control' => array(
'label' => __( 'Custom Post Type Sidebar', 'tb' ),
'type' => 'checkbox',
),
),
array(
'id' => 'staff_search',
'default' => true,
'control' => array(
'label' => __( 'Include In Search', 'tb' ),
'type' => 'checkbox',
),
),
),
);
// Archives
$this->sections['tb_staff_archives'] = array(
'title' => __( 'Archives', 'tb' ),
'panel' => 'tb_staff',
'desc' => __( 'The following options are for the post type category and tag archives.', 'tb' ),
'settings' => array(
array(
'id' => 'staff_archive_layout',
'default' => 'full-width',
'control' => array(
'label' => __( 'Layout', 'tb' ),
'type' => 'select',
'choices' => array(
'right-sidebar' => __( 'Right Sidebar','tb' ),
'left-sidebar' => __( 'Left Sidebar','tb' ),
'full-width' => __( 'No Sidebar','tb' ),
),
),
),
array(
'id' => 'staff_archive_grid_style',
'default' => 'fit-rows',
'control' => array(
'label' => __( 'Grid Style', 'tb' ),
'type' => 'select',
'choices' => array(
'fit-rows' => __( 'Fit Rows','tb' ),
'masonry' => __( 'Masonry','tb' ),
'no-margins' => __( 'No Margins','tb' ),
),
),
),
array(
'id' => 'staff_archive_grid_equal_heights',
'default' => '',
'control' => array(
'label' => __( 'Equal Heights', 'tb' ),
'type' => 'checkbox',
'desc' => __( 'Displays the content containers (with the title and excerpt) in equal heights. Will NOT work with the "Masonry" layouts.', 'tb' ),
),
),
array(
'id' => 'staff_entry_columns',
'default' => '3',
'control' => array(
'label' => __( 'Columns', 'tb' ),
'type' => 'select',
'choices' => tb_grid_columns(),
),
),
array(
'id' => 'staff_archive_posts_per_page',
'default' => '12',
'control' => array(
'label' => __( 'Posts Per Page', 'tb' ),
'type' => 'text',
),
),
array(
'id' => 'staff_entry_overlay_style',
'default' => 'none',
'control' => array(
'label' => __( 'Archives Entry: Overlay Style', 'tb' ),
'type' => 'select',
'choices' => tb_overlay_styles_array()
),
),
array(
'id' => 'staff_entry_details',
'default' => true,
'control' => array(
'label' => __( 'Archives Entry: Details', 'tb' ),
'type' => 'checkbox',
),
),
array(
'id' => 'staff_entry_position',
'default' => true,
'control' => array(
'label' => __( 'Archives Entry: Position', 'tb' ),
'type' => 'checkbox',
),
),
array(
'id' => 'staff_entry_excerpt_length',
'default' => '20',
'control' => array(
'label' => __( 'Archives Entry: Excerpt Length', 'tb' ),
'type' => 'text',
'desc' => __( 'Enter 0 or leave blank to disable', 'tb' ),
),
),
array(
'id' => 'staff_entry_social',
'default' => true,
'control' => array(
'label' => __( 'Archives Entry: Social Links', 'tb' ),
'type' => 'checkbox',
),
),
),
);
// Single
$this->sections['tb_staff_single'] = array(
'title' => __( 'Single', 'tb' ),
'panel' => 'tb_staff',
'settings' => array(
array(
'id' => 'staff_single_layout',
'default' => 'right-sidebar',
'control' => array(
'label' => __( 'Layout', 'tb' ),
'type' => 'select',
'choices' => array(
'right-sidebar' => __( 'Right Sidebar','tb' ),
'left-sidebar' => __( 'Left Sidebar','tb' ),
'full-width' => __( 'No Sidebar','tb' ),
),
),
),
array(
'id' => 'staff_next_prev',
'default' => true,
'control' => array(
'label' => __( 'Next & Previous Links', 'tb' ),
'type' => 'checkbox',
),
),
array(
'id' => 'staff_related_title',
'default' => '',
'control' => array(
'label' => __( 'Related Posts Title', 'tb' ),
'type' => 'text',
),
),
array(
'id' => 'staff_related_count',
'default' => '3',
'control' => array(
'label' => __( 'Related Posts Count', 'tb' ),
'type' => 'text',
),
),
array(
'id' => 'staff_related_columns',
'default' => '3',
'control' => array(
'label' => __( 'Related Posts Columns', 'tb' ),
'type' => 'select',
'choices' => tb_grid_columns(),
),
),
array(
'id' => 'staff_related_excerpts',
'default' => true,
'control' => array(
'label' => __( 'Related Posts Content', 'tb' ),
'type' => 'checkbox',
),
),
array(
'id' => 'staff_post_composer',
'default' => 'content,related',
'control' => array(
'label' => __( 'Post Layout Elements', 'tb' ),
'type' => 'tb-sortable',
'choices' => $blocks,
'desc' => __( 'Click and drag and drop elements to re-order them. Click the "x" to disable any element. You can not disable all elements, if you do so it will display them all', 'tb' ),
),
),
),
);