"Roboto",
"Merriweather" => "Merriweather",
"Play" => "Play",
"Ubuntu"=>"Ubuntu",
"Lobster"=>"Lobster",
"Arimo"=>"Arimo",
"Bitter"=>"Bitter",
"Oxygen"=>"Oxygen",
"Fjalla One" => "Fjalla One"
);
/*
*
* Default Theme Colors
*
*/
$default_options = array(
"hollandex_color_1" => "#79003D",
"hollandex_color_2" => "#D04D14",
"hollandex_color_3" => "#F7F7F7",
"hollandex_color_4" => "#2E003F",
"hollandex_color_5" => "#E7E7E7",
"hollandex_color_6" => "#3D3D3D",
"hollandex_color_7" => "#F9EFEF",
"hollandex_color_8" => "#000137",
"hollandex_color_9" => "#F89301",
);
//footer settings
$wp_customize->add_section('footer_text',array(
'title' => __('Footer Text', 'hollandex'),
'description' => __('Add You custom Footer Text Here', 'hollandex'),
'capability' => 'edit_theme_options'
)
);
$wp_customize->add_setting('hollandex_footer_text',array(
'default' => __('Powered By Wordpress', 'hollandex'),
'sanitize_callback' => 'wp_kses_post'
));
$wp_customize->add_control('hollandex_footer_text',array(
'type' => 'text',
'section' => 'footer_text',
'label' => __('Enter Footer Text', 'hollandex')
));
//font settings
$wp_customize->add_section('fonts',array(
'title' => __('Fonts', 'hollandex'),
'description' => __('Select The Fonts To Use', 'hollandex'),
'capability' => 'edit_theme_options'
)
);
$wp_customize->add_setting('hollandex_body_font',array(
'default' => '1',
'sanitize_callback' => 'sanitize_text_field'
));
$wp_customize->add_control('hollandex_body_font',array(
'type' => 'select',
'section' => 'fonts',
'label' => __('Select Font To Use', 'hollandex'),
'choices' => $google_fonts
));
$wp_customize->add_setting('hollandex_menu_font',array(
'default' => '1',
'sanitize_callback' => 'sanitize_text_field'
));
$wp_customize->add_control('hollandex_menu_font',array(
'type' => 'select',
'section' => 'fonts',
'label' => __('Select Menu Font', 'hollandex'),
'choices' => $google_fonts
));
//Color settings
$wp_customize->add_setting('hollandex_color_1',array(
'default' => $default_options['hollandex_color_1'],
'sanitize_callback' => 'sanitize_hex_color'
));
$wp_customize->add_control('hollandex_color_1',array(
'type' => 'color',
'section' => 'colors',
'label' => __('Theme Color One', 'hollandex')
));
$wp_customize->add_setting('hollandex_color_2',array(
'default' => $default_options['hollandex_color_2'],
'sanitize_callback' => 'sanitize_hex_color'
));
$wp_customize->add_control('hollandex_color_2',array(
'type' => 'color',
'section' => 'colors',
'label' => __('Theme Color 2', 'hollandex')
));
$wp_customize->add_setting('hollandex_color_3',array(
'default' => $default_options['hollandex_color_3'],
'sanitize_callback' => 'sanitize_hex_color'
));
$wp_customize->add_control('hollandex_color_3',array(
'type' => 'color',
'section' => 'colors',
'label' => __('Theme Color 3', 'hollandex')
));
$wp_customize->add_setting('hollandex_color_4',array(
'default' => $default_options['hollandex_color_4'],
'sanitize_callback' => 'sanitize_hex_color'
));
$wp_customize->add_control('hollandex_color_4',array(
'type' => 'color',
'section' => 'colors',
'label' => __('Theme Color 4', 'hollandex')
));
$wp_customize->add_setting('hollandex_color_5',array(
'default' => $default_options['hollandex_color_5'],
'sanitize_callback' => 'sanitize_hex_color'
));
$wp_customize->add_control('hollandex_color_5',array(
'type' => 'color',
'section' => 'colors',
'label' => __('Theme Color Five', 'hollandex')
));
$wp_customize->add_setting('hollandex_color_6',array(
'default' => $default_options['hollandex_color_6'],
'sanitize_callback' => 'sanitize_hex_color'
));
$wp_customize->add_control('hollandex_color_6',array(
'type' => 'color',
'section' => 'colors',
'label' => __('Theme Color 6', 'hollandex')
));
$wp_customize->add_setting('hollandex_color_7',array(
'default' => $default_options['hollandex_color_7'],
'sanitize_callback' => 'sanitize_hex_color'
));
$wp_customize->add_control('hollandex_color_7',array(
'type' => 'color',
'section' => 'colors',
'label' => __('Theme Color 7', 'hollandex')
));
$wp_customize->add_setting('hollandex_color_8',array(
'default' => $default_options['hollandex_color_8'],
'sanitize_callback' => 'sanitize_hex_color'
));
$wp_customize->add_control('hollandex_color_8',array(
'type' => 'color',
'section' => 'colors',
'label' => __('Theme Color 8', 'hollandex')
));
$wp_customize->add_setting('hollandex_color_9',array(
'default' => $default_options['hollandex_color_9'],
'sanitize_callback' => 'sanitize_hex_color'
));
$wp_customize->add_control('hollandex_color_9',array(
'type' => 'color',
'section' => 'colors',
'label' => __('Theme Color 9', 'hollandex')
));
}
/*
*
* retrieve the custom css from the theme options and output it for use in the site
*
*/
function hollandex_custom_style_head()
{
global $google_fonts;
global $default_options;
echo "";
}
add_action('wp_head','hollandex_custom_style_head');
/*
*
* retrieve the footer signature from theme options
*
*/
function hollandex_get_footer_signature()
{
$footer_text = __("Hollandex Theme By Kozmik. Proudly powered by WordPress","hollandex");
echo wp_kses_post(get_theme_mod('hollandex_footer_text',$footer_text));
}
?>