Changeset 1334
- Timestamp:
- 02/26/2015 12:33:20 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/page-commercial.php
r1331 r1334 41 41 while ( $theme_shops->have_posts() ) : 42 42 $theme_shops->the_post(); 43 44 if ( ! $image_url = post_custom( 'image_url' ) ) : 45 $image_url = sprintf( '//s0.wp.com/mshots/v1/%s?w=572', urlencode( post_custom( 'url' ) ) ); 46 endif; 43 47 ?> 44 48 <article id="post-<?php the_ID(); ?>" <?php post_class( array( 'theme', 'hentry' ) ); ?>> 45 49 <div class="theme-screenshot"> 46 <img src="<?php echo esc_url( '//s0.wp.com/mshots/v1/' . urlencode( post_custom( 'url' ) ) . '?w=572'); ?>" alt="">50 <img src="<?php echo esc_url( $image_url ); ?>" alt=""> 47 51 </div> 48 52 <a class="more-details url" href="<?php echo esc_url( post_custom( 'url' ) ); ?>" rel="bookmark"><?php the_content(); ?></a>
Note: See TracChangeset
for help on using the changeset viewer.