Making WordPress.org


Ignore:
Timestamp:
09/13/2023 11:30:08 PM (15 months ago)
Author:
adamwood
Message:

Learn: Sync with git WordPress/learn@4496525

File:
1 edited

Legend:

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

    r12285 r12882  
    2020    ?>
    2121    <section>
    22         <div class="row align-middle between section-heading section-heading--with-space">
    23             <h1 class="section-heading_title h2"><?php esc_html_e( 'Lesson Plans', 'wporg-learn' ); ?></h1>
    24             <a href="<?php echo esc_url( get_post_type_archive_link( 'lesson-plan' ) . '?_view=all' ); ?>" class="button button-xlarge button-secondary">
    25                 <?php esc_html_e( 'Browse all lesson plans', 'wporg-learn' ); ?>
    26             </a>
     22        <div class="row align-middle between section-heading section-heading--with-space gutters">
     23            <h1 class="section-heading_title h2 col-8"><?php esc_html_e( 'Lesson Plans', 'wporg-learn' ); ?></h1>
     24            <div class="col-4 row section-heading_links">
     25                <a href="<?php echo esc_url( get_post_type_archive_link( 'lesson-plan' ) . '?_view=all' ); ?>" class="button button-xlarge button-secondary">
     26                    <?php esc_html_e( 'Browse all lesson plans', 'wporg-learn' ); ?>
     27                </a>
     28            </div>
    2729        </div>
    2830
     
    188190<?php else : ?>
    189191    <section>
    190         <div class="row align-middle between section-heading section-heading--with-space">
    191             <?php the_archive_title( '<h1 class="section-heading_title h2">', '</h1>' ); ?>
     192        <div class="row gutters between section-heading section-heading--with-space">
     193            <?php the_archive_title( '<h1 class="section-heading_title h2 col-8">', '</h1>' ); ?>
    192194            <?php get_template_part( 'template-parts/component', 'archive-search' ); ?>
    193195        </div>
Note: See TracChangeset for help on using the changeset viewer.