Changeset 10486 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/front-page.php
- Timestamp:
- 12/02/2020 08:37:06 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/front-page.php
r10422 r10486 45 45 46 46 <hr> 47 47 48 <section> 48 49 <div class="row align-middle between section-heading"> … … 63 64 ?> 64 65 </section> 66 65 67 <hr> 68 69 <?php $discussion_events = \WPOrg_Learn\Events\get_discussion_events(); ?> 70 <?php if ( ! empty( $discussion_events ) ) : ?> 71 <section class="wporg-learn-workshop-discussion-events"> 72 <div class="row align-middle between section-heading"> 73 <h2 class="h4 section-heading_title"> 74 <?php esc_html_e( 'Upcoming Discussion Groups', 'wporg-learn' ); ?> 75 </h2> 76 <a class="section-heading_link" href="https://www.meetup.com/learn-wordpress-discussions/"> 77 <?php esc_html_e( 'View All »', 'wporg-learn' ); ?> 78 </a> 79 </div> 80 <ul class="discussion-event-list"> 81 <?php foreach ( $discussion_events as $event ) : ?> 82 <?php get_template_part( 'template-parts/component', 'discussion-event-short-item', $event ); ?> 83 <?php endforeach; ?> 84 </ul> 85 <p> 86 <?php 87 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/' 90 ); 91 ?> 92 </p> 93 </section> 94 95 <hr> 96 <?php endif; ?> 66 97 67 98 <?php get_template_part( 'template-parts/component', 'submit-idea-cta', array( 'icon' => 'lightbulb' ) ); ?>
Note: See TracChangeset
for help on using the changeset viewer.