Skip to content

Instantly share code, notes, and snippets.

@KingYes
Created Oct 26, 2014
Embed
What would you like to do?
Pojo.me - print custom css from our customizer
function pojo6891_print_custom_css_codes( Pojo_Create_CSS_Code $css_code ) {
$css_code->add_value( '.product-title', 'color', get_theme_mod( 'secondary_color' ) );
}
add_filter( 'pojo_wp_head_custom_css_code', 'pojo6891_print_custom_css_codes' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment