Making WordPress.org


Ignore:
Timestamp:
02/24/2022 08:52:07 PM (3 years ago)
Author:
coffee2code
Message:

Photo Directory: Change class assigned to single photos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-photos/template-parts/photo-single.php

    r11601 r11603  
    5858        <figure>
    5959            <a href="<?php echo wp_get_attachment_url( get_post_thumbnail_id() ); ?>">
    60                 <img class="grid-photo" src="<?php echo get_the_post_thumbnail_url( get_the_ID(), 'medium'); ?>" srcset="<?php echo esc_attr( wp_get_attachment_image_srcset( get_post_thumbnail_id() ) ); ?>">
     60                <img class="single-photo" src="<?php echo get_the_post_thumbnail_url( get_the_ID(), 'medium'); ?>" srcset="<?php echo esc_attr( wp_get_attachment_image_srcset( get_post_thumbnail_id() ) ); ?>">
    6161            </a>
    6262
Note: See TracChangeset for help on using the changeset viewer.