bmen-wordpress/wp-themes/twentyeleven/inc/theme-customizer.js

12 lines
296 B
JavaScript
Raw Permalink Normal View History

2019-09-22 13:50:07 +00:00
( function( $ ){
wp.customize( 'blogname', function( value ) {
value.bind( function( to ) {
$( '#site-title a' ).html( to );
} );
} );
wp.customize( 'blogdescription', function( value ) {
value.bind( function( to ) {
$( '#site-description' ).html( to );
} );
} );
} )( jQuery );