mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-06 19:01:44 +01:00
7d35419e62
A magazine theme with clean, responsive design focused on highlighting featured content prominently on home page. This is slated for 3.8. Development will occur in trunk for the theme, and in plugins for the nice-to-have features. Nice-to-have improvements include: - Add a Contributors page template to highlight authors. - Easy-to-manage featured content. - Add support for an Authors widget to highlight authors. Welcome, Twenty Fourteen né Further. Props iamtakashi, see #24858. git-svn-id: http://core.svn.wordpress.org/trunk@24832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
19 lines
489 B
JavaScript
19 lines
489 B
JavaScript
/**
|
|
* Theme Customizer enhancements for a better user experience.
|
|
*
|
|
* Contains handlers to make Theme Customizer preview reload changes asynchronously.
|
|
*/
|
|
|
|
( function( $ ) {
|
|
// Site title and description.
|
|
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 ); |