Created
May 6, 2019 11:22
-
-
Save giucu91/a44e18a9c0a8de276ef20c534048fd1b to your computer and use it in GitHub Desktop.
Epsilon Color Scheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function medzon_child_customize_register( $wp_customize ) { | |
$color_scheme = $wp_customize->get_control( 'medzone_color_scheme' ); | |
$color_scheme->choices[] = array( | |
'id' => 'testchild', | |
'name' => 'Child', | |
'colors' => array( | |
'epsilon_accent_color' => '#ffffff', | |
'epsilon_accent_color_second' => '#000000', | |
'epsilon_text_color' => '#777777', | |
'epsilon_title_color' => '#1a171c', | |
'epsilon_contrast_color' => '#d1d5de', | |
'epsilon_footer_bg' => '#364d7c', | |
'epsilon_footer_text_color' => '#ffffff', | |
'epsilon_footer_copyright_bg' => '#cc263d', | |
'epsilon_footer_copyright_text_color' => '#d1d5de', | |
), | |
); | |
} | |
add_action( 'customize_register', 'medzon_child_customize_register', 9999 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment