Changeset 10161 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/template-parts/component-video-grid-item.php
- Timestamp:
- 08/13/2020 05:43:27 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/template-parts/component-video-grid-item.php
r10131 r10161 11 11 12 12 <li class="col-4 video-grid_item"> 13 <?php if( has_post_thumbnail() ) : ?> 14 <?php echo the_post_thumbnail( 'medium' ); ?> 15 <?php else : ?> 16 <div class="video-grid_item--no-image"></div> 17 <? endif; ?> 18 <a class="video-grid_item_link" href="<?php echo esc_url( get_the_permalink() ); ?>"><?php the_title(); ?></a> 13 <a class="video-grid_item_link" href="<?php echo esc_url( get_the_permalink() ); ?>"> 14 <?php echo wporg_get_post_thumbnail( $post, 'medium' ); ?> 15 <?php the_title(); ?> 16 </a> 19 17 </li>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)