Changeset 11342
- Timestamp:
- 11/25/2021 02:19:57 AM (3 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/front-page.php
r11338 r11342 33 33 </section> 34 34 35 <section class="about-training"> 36 <div class="getin"> 37 <div class="graphic"><span class="dashicons dashicons-welcome-learn-more"></span></div> 38 <div> 39 <h2 class="h3"><?php esc_html_e( 'Get Involved', 'wporg-learn' ); ?></h2> 40 <p><?php esc_html_e( 'Want to get involved in creating the content for Learn WordPress?', 'wporg-learn' ); ?></p> 41 <a href="//learn.wordpress.org/contribute"><?php esc_html_e( 'Learn how to contribute', 'wporg-learn' ); ?></a> 42 </div> 35 <section> 36 <div class="row align-middle between section-heading"> 37 <h2 class="h4 section-heading_title"><?php esc_html_e( 'Recent Courses', 'wporg-learn' ); ?></h2> 38 <a class="section-heading_link" href="/courses/"><span aria-hidden="true"><?php esc_html_e( 'View All Courses', 'wporg-learn' ); ?></span><span class="screen-reader-text"><?php esc_html_e( 'View All Courses', 'wporg-learn' ); ?></span></a> 43 39 </div> 40 41 <?php 42 $args = array( 43 'query' => wporg_get_archive_query( 44 'course', 45 array( 46 'posts_per_page' => 2, 47 'meta_query' => 48 array( 49 array( 50 'key' => '_course_featured', 51 'value' => 'featured', 52 ), 53 ), 54 ), 55 ), 56 ); 57 get_template_part( 'template-parts/component', 'course-grid', $args ); 58 ?> 44 59 </section> 45 60 … … 49 64 <div class="row align-middle between section-heading"> 50 65 <h2 class="h4 section-heading_title"><?php esc_html_e( 'Recent Workshops', 'wporg-learn' ); ?></h2> 51 <a class="section-heading_link" href="/workshops "><span aria-hidden="true"><?php esc_html_e( 'View All »', 'wporg-learn' ); ?></span><span class="screen-reader-text"><?php esc_html_e( 'View All Workshops', 'wporg-learn' ); ?></span></a>66 <a class="section-heading_link" href="/workshops/"><span aria-hidden="true"><?php esc_html_e( 'View All Workshops', 'wporg-learn' ); ?></span><span class="screen-reader-text"><?php esc_html_e( 'View All Workshops', 'wporg-learn' ); ?></span></a> 52 67 </div> 53 68 … … 75 90 </h2> 76 91 <a class="section-heading_link" href="/social-learning/"> 77 <?php esc_html_e( 'View All »', 'wporg-learn' ); ?>92 <?php esc_html_e( 'View All Social Learning Spaces', 'wporg-learn' ); ?> 78 93 </a> 79 94 </div> … … 86 101 <?php 87 102 printf( 88 wp_kses_post( __( 'Want to facilitate a discussion group about a workshop? <a href="%s">Apply to become a facilitator.</a>', 'wporg-learn' ) ),89 'https://learn.wordpress.org/ discussion-groups/'103 wp_kses_post( __( 'Want to facilitate a social learning space? <a href="%s">Apply to become a facilitator</a>.', 'wporg-learn' ) ), 104 'https://learn.wordpress.org/social-learning/' 90 105 ); 91 106 ?> … … 96 111 <?php endif; ?> 97 112 113 <section class="about-training"> 114 <div class="getin"> 115 <div class="graphic"><span class="dashicons dashicons-welcome-learn-more"></span></div> 116 <div> 117 <h2 class="h3"><?php esc_html_e( 'Get Involved', 'wporg-learn' ); ?></h2> 118 <p><?php esc_html_e( 'Want to get involved in creating the content for Learn WordPress?', 'wporg-learn' ); ?></p> 119 <a href="//learn.wordpress.org/contribute"><?php esc_html_e( 'Learn how to contribute', 'wporg-learn' ); ?></a> 120 </div> 121 </div> 122 </section> 123 124 <hr> 125 98 126 <?php get_template_part( 'template-parts/component', 'submit-idea-cta', array( 'icon' => 'lightbulb' ) ); ?> 99 127 </main> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/template-parts/component-discussion-event-short-item.php
r10486 r11342 23 23 <div class="wp-block-button is-style-primary"> 24 24 <a class="wp-block-button__link" href="<?php echo esc_attr( $args['url'] ); ?>" style="border-radius:5px"> 25 <?php esc_html_e( 'Join th e discussion', 'wporg-learn' ); ?>25 <?php esc_html_e( 'Join this space', 'wporg-learn' ); ?> 26 26 </a> 27 27 </div>
Note: See TracChangeset
for help on using the changeset viewer.