Changeset 12279 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/template-parts/component-video-grid-item.php
- Timestamp:
- 11/27/2022 10:32:48 PM (4 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
r11545 r12279 8 8 */ 9 9 10 use function WPOrg_Learn\Post_Meta\get_workshop_duration; 11 12 $duration = get_workshop_duration( $post, 'string' ); 10 13 ?> 11 14 … … 17 20 ?> 18 21 <h3><?php the_title(); ?></h3> 22 <?php if ( isset( $duration ) ) { ?> 23 <p class="video-grid_item_duration">Length: <?php echo esc_html( $duration ); ?></p> 24 <?php } ?> 19 25 </a> 20 26 </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)