Ticket #23772: 23772.diff
| File 23772.diff, 3.7 KB (added by , 13 years ago) |
|---|
-
wp-content/themes/twentyeleven/header.php
46 46 47 47 ?></title> 48 48 <link rel="profile" href="http://gmpg.org/xfn/11" /> 49 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />50 49 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> 51 50 <!--[if lt IE 9]> 52 51 <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script> 53 52 <![endif]--> 54 53 <?php 55 /* We add some JavaScript to pages with the comment form56 * to support sites with threaded comments (when in use).57 */58 if ( is_singular() && get_option( 'thread_comments' ) )59 wp_enqueue_script( 'comment-reply' );60 61 54 /* Always have wp_head() just before the closing </head> 62 55 * tag of your theme, or you will break many plugins, which 63 56 * generally use this hook to add elements to <head> such -
wp-content/themes/twentyeleven/functions.php
327 327 endif; // twentyeleven_admin_header_image 328 328 329 329 /** 330 * Enqueue scripts and styles 331 * 332 * @since Twenty Eleven 1.6 333 */ 334 function twentyeleven_scripts() { 335 wp_enqueue_style( 'twentyeleven', get_stylesheet_uri() ); 336 337 /* We add some JavaScript to pages with the comment form 338 * to support sites with threaded comments (when in use). 339 */ 340 if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) 341 wp_enqueue_script( 'comment-reply' ); 342 } 343 add_action( 'wp_enqueue_scripts', 'twentyeleven_scripts', 0 ); 344 345 /** 330 346 * Sets the post excerpt length to 40 words. 331 347 * 332 348 * To override this length in a child theme, remove the filter and add your own -
wp-content/themes/twentyten/functions.php
216 216 endif; 217 217 218 218 /** 219 * Enqueue scripts and styles 220 * 221 * @since Twenty Ten 1.6 222 */ 223 function twentyten_scripts() { 224 wp_enqueue_style( 'twentyten', get_stylesheet_uri() ); 225 226 /* We add some JavaScript to pages with the comment form 227 * to support sites with threaded comments (when in use). 228 */ 229 if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) 230 wp_enqueue_script( 'comment-reply' ); 231 } 232 add_action( 'wp_enqueue_scripts', 'twentyten_scripts', 0 ); 233 234 /** 219 235 * Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link. 220 236 * 221 237 * To override this in a child theme, remove the filter and optionally add -
wp-content/themes/twentyten/header.php
34 34 35 35 ?></title> 36 36 <link rel="profile" href="http://gmpg.org/xfn/11" /> 37 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />38 37 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> 39 38 <?php 40 /* We add some JavaScript to pages with the comment form41 * to support sites with threaded comments (when in use).42 */43 if ( is_singular() && get_option( 'thread_comments' ) )44 wp_enqueue_script( 'comment-reply' );45 46 39 /* Always have wp_head() just before the closing </head> 47 40 * tag of your theme, or you will break many plugins, which 48 41 * generally use this hook to add elements to <head> such