Changeset 25627 for trunk/src/wp-content/themes/twentyten/header.php
- Timestamp:
- 09/25/2013 05:03:34 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyten/header.php
r23778 r25627 1 1 <?php 2 2 /** 3 * The Header for our theme.3 * Header template for our theme 4 4 * 5 * Displays all of the <head> section and everything up till <div id="main"> 5 * Displays all of the <head> section and everything up till <div id="main">. 6 6 * 7 7 * @package WordPress … … 38 38 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> 39 39 <?php 40 /* We add some JavaScript to pages with the comment form 40 /** 41 * We add some JavaScript to pages with the comment form 41 42 * to support sites with threaded comments (when in use). 42 43 */ … … 44 45 wp_enqueue_script( 'comment-reply' ); 45 46 46 /* Always have wp_head() just before the closing </head> 47 /** 48 * Always have wp_head() just before the closing </head> 47 49 * tag of your theme, or you will break many plugins, which 48 50 * generally use this hook to add elements to <head> such … … 69 71 // Compatibility with versions of WordPress prior to 3.4. 70 72 if ( function_exists( 'get_custom_header' ) ) { 71 // We need to figure out what the minimum width should be for our featured image. 72 // This result would be the suggested width if the theme were to implement flexible widths. 73 /** 74 * We need to figure out what the minimum width should be for our featured image. 75 * This result would be the suggested width if the theme were to implement flexible widths. 76 */ 73 77 $header_image_width = get_theme_support( 'custom-header', 'width' ); 74 78 } else {
Note: See TracChangeset
for help on using the changeset viewer.