????
| 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/testimonials.php |
<?php
/**
* Testimonials Customizer Options
*
* @package Wanderfuls WordPress Theme
* @subpackage Customizer
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// General
$this->sections['tb_testimonials'] = array(
'title' => __( 'General', 'tb' ),
'settings' => array(
array(
'id' => 'testimonials_page',
'control' => array (
'label' => __( 'Main Page', 'tb' ),
'type' => 'dropdown-pages',
'desc' => __( 'Used for breadcrumbs.', 'tb' ),
),
),
array(
'id' => 'testimonials_custom_sidebar',
'default' => 1,
'control' => array (
'label' => __( 'Custom Post Type Sidebar', 'tb' ),
'type' => 'checkbox',
),
),
array(
'id' => 'testimonials_search',
'default' => 1,
'control' => array (
'label' => __( 'Include In Search', 'tb' ),
'type' => 'checkbox',
),
),
array(
'id' => 'testimonials_archive_layout',
'default' => 'full-width',
'control' => array (
'label' => __( 'Archive Layout', 'tb' ),
'type' => 'select',
'choices' => array(
'right-sidebar' => __( 'Right Sidebar','tb' ),
'left-sidebar' => __( 'Left Sidebar','tb' ),
'full-width' => __( 'No Sidebar','tb' ),
),
),
),
array(
'id' => 'testimonials_entry_columns',
'default' => '4',
'control' => array (
'label' => __( 'Archive Columns', 'tb' ),
'type' => 'select',
'choices' => tb_grid_columns(),
),
),
array(
'id' => 'testimonials_archive_posts_per_page',
'default' => '12',
'control' => array (
'label' => __( 'Archive Posts Per Page', 'tb' ),
'type' => 'number',
),
),
array(
'id' => 'testimonial_entry_title',
'control' => array (
'label' => __( 'Archive Entry Title', 'tb' ),
'type' => 'checkbox',
),
),
array(
'id' => 'testimonial_post_style',
'default' => 'blockquote',
'control' => array (
'label' => __( 'Single Style', 'tb' ),
'type' => 'select',
'choices' => array(
'blockquote' => __( 'Blockquote', 'tb' ),
'standard' => __( 'Standard', 'tb' ),
),
),
),
array(
'id' => 'testimonials_single_layout',
'default' => 'right-sidebar',
'control' => array (
'label' => __( 'Single Layout', 'tb' ),
'type' => 'select',
'choices' => array(
'right-sidebar' => __( 'Right Sidebar','tb' ),
'left-sidebar' => __( 'Left Sidebar','tb' ),
'full-width' => __( 'No Sidebar','tb' ),
),
),
),
array(
'id' => 'testimonials_comments',
'control' => array (
'label' => __( 'Comments', 'tb' ),
'type' => 'checkbox',
),
),
array(
'id' => 'testimonials_next_prev',
'default' => 1,
'control' => array (
'label' => __( 'Next & Previous Links', 'tb' ),
'type' => 'checkbox',
),
),
array(
'id' => 'testimonial_entry_bg',
'control' => array (
'type' => 'color',
'label' => __( 'Entry Background', 'tb' ),
),
'inline_css' => array(
'target' => '.testimonial-entry-content',
'alter' => 'background',
),
),
array(
'id' => 'testimonial_entry_pointer_bg',
'control' => array (
'type' => 'color',
'label' => __( 'Entry Pointer Background', 'tb' ),
),
'inline_css' => array(
'target' => '.testimonial-caret',
'alter' => 'border-top-color',
),
),
array(
'id' => 'testimonial_entry_color',
'control' => array (
'type' => 'color',
'label' => __( 'Entry Color', 'tb' ),
),
'inline_css' => array(
'target' => array(
'.testimonial-entry-content',
'.testimonial-entry-content a',
),
'alter' => 'color',
),
),
),
);