Ticket #25257: 25257.1.diff
| File 25257.1.diff, 1.6 KB (added by , 12 years ago) |
|---|
-
wp-content/themes/twentyfourteen/functions.php
274 274 275 275 /** 276 276 * Replace "[...]" (appended to automatically generated excerpts) with an 277 * ellipsis and twenty eleven_continue_reading_link().277 * ellipsis and twentyfourteen_continue_reading_link(). 278 278 * 279 279 * @since Twenty Fourteen 1.0 280 280 * -
wp-content/themes/twentyfourteen/inc/customizer.php
8 8 */ 9 9 10 10 /** 11 * Add postMessage support for site title and description for the Theme Customizer.11 * Implement Theme Customizer additions and adjustments. 12 12 * 13 13 * @since Twenty Fourteen 1.0 14 14 * … … 15 15 * @param WP_Customize_Manager $wp_customize Theme Customizer object. 16 16 */ 17 17 function twentyfourteen_customize_register( $wp_customize ) { 18 // Add postMessage support for site title and description. 18 19 $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; 19 20 $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; 20 21 22 // Add the custom accent color setting and control. 21 23 $wp_customize->add_setting( 'accent_color', array( 22 24 'default' => '#24890d', 23 25 'sanitize_callback' => 'twentyfourteen_generate_accent_colors',