I'm creating two color controls using the Customizer.
function main_salvio_customizer( $wp_customize ) {
$wp_customize->add_setting( 'page-title-section' , array(
'default' => '#3c93bd',
'transport' => 'postMessage',
) );
$wp_customize->add_setting( 'page-title-section-text-color' , array(
'default' => '#000000',
'transport' => 'postMessage',
) );
$wp_customize->add_section( 'personalize-color-page' , array(
'title' => __( 'Visible Section Name' ),
'priority' => 30,
) );
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'link_color', array(
'label' => __( 'Page Text Color' ),
'settings' => 'page-title-section-text-color',
'section' => 'personalize-color-page',
) ) );
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'link_color', array(
'label' => __( 'Page Title Control' ),
'settings' => 'page-title-section',
'section' => 'personalize-color-page',
) ) );
}
add_action( 'customize_register', 'main_salvio_customizer' );
The issue is that I can only see the last added control, if change the order Page Text Color appears and the other is gone.