Changeset 10458 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/template-parts/content-single.php
- Timestamp:
- 11/20/2020 12:07: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/content-single.php
r10192 r10458 8 8 */ 9 9 10 $slides_url = wporg_get_slides_url();11 $download_url = wporg_get_download_slides_url();12 10 ?> 13 11 … … 44 42 45 43 <ul class="lp-links"> 46 47 <?php if ( $slides_url ) : ?> 48 <li> 49 <a href="<?php echo esc_url( $slides_url ); ?>" target="_blank"><span class="dashicons dashicons-admin-page"></span> <?php esc_html_e( 'View Lesson Plan Slides', 'wporg-learn' ); ?></a> 50 </li> 51 <?php endif; ?> 52 53 <?php if ( $download_url ) : ?> 54 <li> 55 <a href="<?php echo esc_url( $download_url ); ?>"><span class="dashicons dashicons-download"></span> <?php esc_html_e( 'Download Lesson Slides', 'wporg-learn' ); ?></a> 56 </li> 57 <?php endif; ?> 58 44 <?php if ( $post->slides_view_url ) : ?> 45 <li> 46 <a href="<?php echo esc_attr( $post->slides_view_url ); ?>" target="_blank"> 47 <span class="dashicons dashicons-admin-page"></span> 48 <?php esc_html_e( 'View Lesson Plan Slides', 'wporg-learn' ); ?> 49 </a> 50 </li> 51 <?php endif; ?> 52 <?php if ( $post->slides_download_url ) : ?> 53 <li> 54 <a href="<?php echo esc_attr( $post->slides_download_url ); ?>"> 55 <span class="dashicons dashicons-download"></span> 56 <?php esc_html_e( 'Download Lesson Slides', 'wporg-learn' ); ?> 57 </a> 58 </li> 59 <?php endif; ?> 59 60 <!-- <li> 60 <a href="#" target="_blank"><span class="dashicons dashicons-admin-post"></span> <?php esc_html_e( 'Print Lesson Plan', 'wporg-learn' ); ?></a> 61 <a href="#" target="_blank"> 62 <span class="dashicons dashicons-admin-post"></span> 63 <?php esc_html_e( 'Print Lesson Plan', 'wporg-learn' ); ?> 64 </a> 61 65 </li> --> 62 66 </ul>
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)