Making WordPress.org


Ignore:
Timestamp:
07/05/2015 07:26:25 PM (9 years ago)
Author:
Otto42
Message:

Add srcset to screenshot images, move img tag building into functions.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/single.php

    r1474 r1705  
    1212                                <?php breadcrumb(); ?>
    1313                                <a href=' http://<?php get_site_domain( false ); ?>'>
    14                                     <img src="<?php site_screenshot_src( 340 ); ?>"  class='site-screenshot' title='<?php the_title(); ?>' width='340' height='255' />
     14                                    <?php site_screenshot_tag( 340, 'screenshot site-screenshot'); ?>
    1515                                </a>
    1616                                <?php the_content(); ?>
Note: See TracChangeset for help on using the changeset viewer.