<?php
/**
 * Otography Excerpt Display
 *
 * @package otography
 */

/**
 * Displays custom theme posts in frontpage. 
 *
 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
 */

	$wp_customize->add_section( 'excerpt-settings', array(
		'priority' => 100,
		'capability' => 'edit_theme_options',
		'title' => __( 'Excerpt Settings', 'otography' ),
		'panel' => 'otography_options_panel',
	) );

	$wp_customize->add_setting( 'excerpt-display', array(
		'default' => 'excerpt-content',
		'sanitize_callback' => 'otography_sanitize_select',
		));
	$wp_customize->add_control( 'excerpt-display', array(
		'priority'=>10,
		'label' => __('Post Excerpt Content', 'otography'),
		'description' => __('Designed only for Blog Posts', 'otography'),
		'section' => 'excerpt-settings',
		'type' => 'radio',
		'choices' => array(
		'full-content' => __( 'Full Content','otography' ),
		'excerpt-content' => __( 'Excerpt Content','otography' ),
		),
	));