Making WordPress.org


Ignore:
Timestamp:
10/22/2021 10:44:47 PM (4 years ago)
Author:
coreymckrill
Message:

WordPress.org Learn: Sync with GitHub

Props psykro, alexstine, chetan200891

https://github.com/WordPress/learn/compare/7ea99ea7ed2b193eb3b8e85ca8d338347865dc2b...b33b5d02045af0a3ee379dc43d1326a75c7d026a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/template-parts/component-series-navigation.php

    r11278 r11294  
    1818    </h2>
    1919    <?php echo wp_kses_post( wpautop( term_description( $series_term->term_id ) ) ); ?>
    20     <ul class="row video-grid">
     20    <ul aria-hidden="true" class="row video-grid">
    2121        <li class="col-6 video-grid_item previous-series-item">
    2222            <?php if ( $previous ) : ?>
     
    3636        </li>
    3737    </ul>
     38    <ul class="row video-grid screen-reader-text">
     39        <li class="col-6 video-grid_item previous-series-item">
     40            <?php if ( $previous ) : ?>
     41                <a class="video-grid_item_link" href="<?php echo esc_url( get_the_permalink( $previous ) ); ?>">
     42                    <?php echo wp_kses_post( 'Previous: ' . get_the_title( $previous ) ); ?>
     43                </a>
     44            <?php endif; ?>
     45        </li>
     46        <li class="col-6 video-grid_item next-series-item">
     47            <?php if ( $next ) : ?>
     48                <a class="video-grid_item_link" href="<?php echo esc_url( get_the_permalink( $next ) ); ?>">
     49                    <?php echo wp_kses_post( 'Next: ' . get_the_title( $next ) ); ?>
     50                </a>
     51            <?php endif; ?>
     52        </li>
     53    </ul>
    3854</nav>
Note: See TracChangeset for help on using the changeset viewer.