<?php
/**
 * Category options.
 *
 * @package New BlogBell
 */

$default = new_blogbell_get_default_theme_options();

// Category Author Section
$wp_customize->add_section( 'section_home_layout',
	array(
		'title'      => __( 'Homepage Layout', 'new-blogbell' ),
		'capability' => 'edit_theme_options',
		'panel'      => 'home_page_panel',
		)
);


$wp_customize->add_setting('theme_options[homepage_design_layout_options]', 
	array(
	'default' 			=> $default['homepage_design_layout_options'],
	'type'              => 'theme_mod',
	'capability'        => 'edit_theme_options',	
	'sanitize_callback' => 'new_blogbell_sanitize_select'
	)
);

$wp_customize->add_control('theme_options[homepage_design_layout_options]', 
	array(
	'label'             => esc_html__( 'Choose HomePage Layout', 'new-blogbell' ),
	'description' => __('Save & Refresh the customizer to see its effect.', 'new-blogbell'),
	'section'     => 'section_home_layout',   
	'settings'    => 'theme_options[homepage_design_layout_options]',		
	'type'        => 'select',
	'choices'	  => array(  
		'home-main'     => esc_html__( 'HomePage One (Blog)', 'new-blogbell' ),  
		'home-two'     => esc_html__( 'HomePage Two (Blog)', 'new-blogbell' ),  
		'home-three'     => esc_html__( 'HomePage Three (Blog)', 'new-blogbell' ), 
		'home-four'     => esc_html__( 'HomePage Four (Magazine)', 'new-blogbell' ), 
		'home-five'     => esc_html__( 'HomePage Five (Blog)', 'new-blogbell' ), 
		'home-six'     => esc_html__( 'HomePage Six (Blog)', 'new-blogbell' ),
		'home-seven'     => esc_html__( 'HomePage Seven (Blog)', 'new-blogbell' ),
		),
	)
);


