- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentythirteen/inc/custom-header.php
r42343 r43571 100 100 <?php 101 101 if ( ! empty( $header_image ) ) : 102 ?>102 ?> 103 103 .site-header { 104 104 background: url(<?php header_image(); ?>) no-repeat scroll top; … … 115 115 } 116 116 } 117 <?php117 <?php 118 118 endif; 119 119 120 120 // Has the text been hidden? 121 121 if ( ! display_header_text() ) : 122 ?>122 ?> 123 123 .site-title, 124 124 .site-description { … … 127 127 clip: rect(1px, 1px, 1px, 1px); 128 128 } 129 <?php130 if ( empty( $header_image ) ) :131 ?>129 <?php 130 if ( empty( $header_image ) ) : 131 ?> 132 132 .site-header .home-link { 133 133 min-height: 0; 134 134 } 135 <?php135 <?php 136 136 endif; 137 137 138 138 // If the user has set a custom color for the text, use that. 139 139 elseif ( $text_color != get_theme_support( 'custom-header', 'default-text-color' ) ) : 140 ?>140 ?> 141 141 .site-title, 142 142 .site-description { … … 155 155 function twentythirteen_admin_header_style() { 156 156 $header_image = get_header_image(); 157 ?>157 ?> 158 158 <style type="text/css" id="twentythirteen-admin-header-css"> 159 159 .appearance_page_custom-header #headimg { … … 211 211 } 212 212 </style> 213 <?php213 <?php 214 214 } 215 215 … … 233 233 </div> 234 234 </div> 235 <?php236 } 235 <?php 236 }
Note: See TracChangeset
for help on using the changeset viewer.