WordPress/wp-content/themes/twentyeleven/inc/theme-customizer.js

12 lines
296 B
JavaScript
Raw Normal View History

( function( $ ){
wp.customize( 'blogname', function( value ) {
value.bind( function( to ) {
$( '#site-title a' ).text( to );
} );
} );
wp.customize( 'blogdescription', function( value ) {
value.bind( function( to ) {
$( '#site-description' ).text( to );
} );
} );
} )( jQuery );