I have the following code:
function color_scheme_customizer_register($wp_customize) {
$wp_customize->add_section('front_page', array(
'title' => __('Front Page'),
'priority' => 120,
));
// MAIN IMAGE
$wp_customize->add_setting('front_page_options[image_select]', array(
'capability' => 'edit_theme_options',
'type' => 'option',
));
$wp_customize->add_control( new WP_Customize_Image_Control($wp_customize, 'image_select', array(
'label' => __('Main Image', 'themename'),
'section' => 'front_page',
'settings' => 'front_page_options[image_select]',
)));
// FEATURE ONE
$wp_customize->add_setting('front_page_options[feature_one_page]', array(
'capability' => 'edit_theme_options',
'type' => 'option',
));
$wp_customize->add_control('feature_one_page', array(
'label' => __('Featured Page One'),
'section' => 'front_page',
'settings' => 'front_page_options[feature_one_page]',
'type' => 'dropdown-pages',
));
$wp_customize->add_setting('front_page_options[feature_one_textarea]', array(
'capability' => 'edit_theme_options',
'type' => 'option',
));
$wp_customize->add_control('feature_one_textarea', array(
'label' => __('Featured Page One Summary'),
'section' => 'front_page',
'settings' => 'front_page_options[feature_one_textarea]',
'type' => 'textarea',
));
...
}
I want to access the front_page_array variables, but all I can find is documentation on simply creating a new .css spreadsheet to make changes. Is there a way I can specifically access the variables like so:
<?php get_header(); ?>
<?php get_customizer_variables('front_page_options'); ?>
<?php get_footer(); ?>