//JMC => https://code.tutsplus.com/tutorials/a-guide-to-the-wordpress-theme-customizer-adding-a-new-setting--wp-33180 //CUSTOMIZER COLOR ADDITIONS //SETTING UP THE NEW COLOR CONTROL: LINKS function pdog1_register_theme_customizer( $wp_customize ) { $wp_customize->add_setting( 'pdog_link_color', array( 'default' => '#00649c' ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'link_color', array( 'label' => __( 'Link Color', 'tcx' ), 'section' => 'colors', 'settings' => 'pdog_link_color' ) ) ); } add_action( 'customize_register', 'pdog1_register_theme_customizer' ); //JMC THIS APPLIES THE COLOR ABOVE AS A CSS OVER-RIDE function pdog1_customizer_css() { ?> <style type="text/css"> a { color: <?php echo get_theme_mod( 'pdog_link_color' ); ?>; } </style> <?php } add_action( 'wp_head', 'pdog1_customizer_css' );