Making WordPress.org


Ignore:
Timestamp:
11/30/2022 02:15:49 AM (4 years ago)
Author:
adamwood
Message:

Learn: Sync with git WordPress/learn@f82a677

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/archive-wporg_workshop.php

    r12096 r12286  
    2424
    2525        <section>
    26                 <div class="row align-middle between section-heading section-heading--with-space gutters">
    27                         <?php the_archive_title( '<h1 class="section-heading_title h2 col-8">', '</h1>' ); ?>
    28                         <?php get_template_part( 'template-parts/component', 'archive-search' ); ?>
     26                <div class="section-heading section-heading--with-space">
     27                        <?php the_archive_title( '<h1 class="section-heading_title h2">', '</h1>' ); ?>
    2928                        <?php if ( is_tax( 'wporg_workshop_series' ) && have_posts() ) :
    3029                                $series_term = wporg_learn_series_get_term( $post );
    3130                                ?>
    32                                 <div class="section-heading_description col-12">
     31                                <div class="section-heading_description">
    3332                                        <?php echo wp_kses_post( wpautop( term_description( $series_term->term_id ) ) ); ?>
    3433                                </div>
     
    3736                <hr>
    3837                <?php if ( is_post_type_archive( 'wporg_workshop' ) ) : ?>
     38                        <div class="section-intro">
     39                                <div class="row between gutters">
     40                                        <p class="col-8"><?php esc_html_e( 'Tutorials are a great way to get hands-on with WordPress. These videos will help you learn new skills to become a more effective WordPress user, developer, designer, and contributor.', 'wporg-learn' ); ?></p>
     41                                        <?php get_template_part( 'template-parts/component', 'archive-search' ); ?>
     42                                </div>
     43                        </div>
     44                        <hr>
    3945                        <?php get_template_part( 'template-parts/component', 'workshop-filters' ); ?>
    4046                <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.