Making WordPress.org


Ignore:
Timestamp:
03/16/2023 01:10:08 AM (22 months ago)
Author:
adamwood
Message:

Learn: Sync with git WordPress/learn@395c21e

File:
1 edited

Legend:

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

    r12285 r12471  
    2121<main id="main" class="site-main">
    2222    <section>
    23         <div class="section-heading section-heading--with-space">
     23        <div class="section-heading section-heading--with-space row align-middle between">
    2424            <?php the_archive_title( '<h1 class="section-heading_title h2">', '</h1>' ); ?>
     25            <?php if ( is_user_logged_in() ) : ?>
     26                <a class="section-heading_link" href="/my-courses/"><?php esc_html_e( 'My Courses', 'wporg-learn' ); ?></a>
     27            <?php endif; ?>
    2528        </div>
    2629
Note: See TracChangeset for help on using the changeset viewer.