Changeset 42343 for trunk/src/wp-includes/theme-compat/header.php
- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme-compat/header.php
r37985 r42343 20 20 <head> 21 21 <link rel="profile" href="http://gmpg.org/xfn/11" /> 22 <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />22 <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" /> 23 23 24 24 <title><?php echo wp_get_document_title(); ?></title> 25 25 26 <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url'); ?>" type="text/css" media="screen" />27 <link rel="pingback" href="<?php bloginfo( 'pingback_url'); ?>" />26 <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" type="text/css" media="screen" /> 27 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> 28 28 29 29 <?php if ( file_exists( get_stylesheet_directory() . '/images/kubrickbgwide.jpg' ) ) { ?> … … 32 32 <?php 33 33 // Checks to see whether it needs a sidebar 34 if ( empty( $withcomments) && !is_single() ) {34 if ( empty( $withcomments ) && ! is_single() ) { 35 35 ?> 36 #page { background: url("<?php bloginfo( 'stylesheet_directory'); ?>/images/kubrickbg-<?php bloginfo('text_direction'); ?>.jpg") repeat-y top; border: none; }36 #page { background: url("<?php bloginfo( 'stylesheet_directory' ); ?>/images/kubrickbg-<?php bloginfo( 'text_direction' ); ?>.jpg") repeat-y top; border: none; } 37 37 <?php } else { // No sidebar ?> 38 #page { background: url("<?php bloginfo( 'stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }38 #page { background: url("<?php bloginfo( 'stylesheet_directory' ); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; } 39 39 <?php } ?> 40 40 … … 42 42 <?php } ?> 43 43 44 <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> 44 <?php 45 if ( is_singular() ) { 46 wp_enqueue_script( 'comment-reply' );} 47 ?> 45 48 46 49 <?php wp_head(); ?> … … 51 54 <div id="header" role="banner"> 52 55 <div id="headerimg"> 53 <h1><a href="<?php echo home_url(); ?>/"><?php bloginfo( 'name'); ?></a></h1>54 <div class="description"><?php bloginfo( 'description'); ?></div>56 <h1><a href="<?php echo home_url(); ?>/"><?php bloginfo( 'name' ); ?></a></h1> 57 <div class="description"><?php bloginfo( 'description' ); ?></div> 55 58 </div> 56 59 </div>
Note: See TracChangeset
for help on using the changeset viewer.