]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentyeleven/inc/theme-customizer.js
WordPress 3.4
[autoinstalls/wordpress.git] / wp-content / themes / twentyeleven / inc / theme-customizer.js
diff --git a/wp-content/themes/twentyeleven/inc/theme-customizer.js b/wp-content/themes/twentyeleven/inc/theme-customizer.js
new file mode 100644 (file)
index 0000000..ca63fda
--- /dev/null
@@ -0,0 +1,12 @@
+( 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 );
\ No newline at end of file