- Timestamp:
- 05/09/2015 10:47:54 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/index.php
r1060 r1559 24 24 <h3><?php the_title(); ?></h3> 25 25 26 <?php 27 $hw = image_hwstring( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT ); 28 if ( ! $header_image = get_header_image() ) { 29 $header_image = content_url( '/languages/shots/shot-' . $rosetta->locale . '.png' ); 30 $hw = ''; 31 } 32 ?> 33 <img class="shot" <?php echo $hw; ?>src="<?php echo esc_url( $header_image ); ?>" alt="Localized version screenshot" /> 34 <?php the_content(); ?> 26 <?php 27 if ( $header_image = get_header_image() ) { 28 $hw = image_hwstring( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT ); 29 printf( 30 '<img class="shot" %ssrc="%s" alt="" />', 31 $hw, 32 esc_url( $header_image ) 33 ); 34 } 35 36 the_content(); 37 ?> 35 38 <?php endwhile; ?> 36 39 </div>
Note: See TracChangeset
for help on using the changeset viewer.