Ticket #23585: 23585.diff
File 23585.diff, 1.4 KB (added by , 12 years ago) |
---|
-
wp-content/themes/twentythirteen/functions.php
552 552 * @return void 553 553 */ 554 554 function twentythirteen_customize_register( $wp_customize ) { 555 $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; 556 $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; 555 $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; 556 $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; 557 $wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage'; 557 558 } 558 559 add_action( 'customize_register', 'twentythirteen_customize_register' ); 559 560 -
wp-content/themes/twentythirteen/js/theme-customizer.js
17 17 $( '.site-description' ).text( to ); 18 18 } ); 19 19 } ); 20 } )( jQuery ); 21 No newline at end of file 20 // Header text color 21 wp.customize( 'header_textcolor', function( value ) { 22 value.bind( function( to ) { 23 $( '.site-title a, .site-description' ).css( 'color', to ); 24 } ); 25 } ); 26 } )( jQuery );