- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwelve/inc/custom-header.php
r42343 r43571 82 82 // Has the text been hidden? 83 83 if ( ! display_header_text() ) : 84 ?>84 ?> 85 85 .site-title, 86 86 .site-description { … … 89 89 clip: rect(1px, 1px, 1px, 1px); 90 90 } 91 <?php92 // If the user has set a custom color for the text, use that.91 <?php 92 // If the user has set a custom color for the text, use that. 93 93 else : 94 ?>94 ?> 95 95 .site-header h1 a, 96 96 .site-header h2 { … … 108 108 */ 109 109 function twentytwelve_admin_header_style() { 110 ?>110 ?> 111 111 <style type="text/css" id="twentytwelve-admin-header-css"> 112 112 .appearance_page_custom-header #headimg { … … 139 139 } 140 140 </style> 141 <?php141 <?php 142 142 } 143 143 … … 161 161 $header_image = get_header_image(); 162 162 if ( ! empty( $header_image ) ) : 163 ?>163 ?> 164 164 <img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt="" /> 165 165 <?php endif; ?> 166 166 </div> 167 <?php167 <?php 168 168 }
Note: See TracChangeset
for help on using the changeset viewer.