- Timestamp:
- 10/08/2019 07:05:53 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/template-parts/pagination.php
r46357 r46445 35 35 ); 36 36 37 // If we're not outputting the previous page link, prepend a placeholder with visi sibility: hidden to take its place.37 // If we're not outputting the previous page link, prepend a placeholder with visibility: hidden to take its place. 38 38 if ( strpos( $posts_pagination, 'prev page-numbers' ) === false ) { 39 39 $posts_pagination = str_replace( '<div class="nav-links">', '<div class="nav-links"><span class="prev page-numbers placeholder" aria-hidden="true">' . $prev_text . '</span>', $posts_pagination ); 40 40 } 41 41 42 // If we're not outputting the next page link, append a placeholder with visi sibility: hidden to take its place.42 // If we're not outputting the next page link, append a placeholder with visibility: hidden to take its place. 43 43 if ( strpos( $posts_pagination, 'next page-numbers' ) === false ) { 44 44 $posts_pagination = str_replace( '</div>', '<span class="next page-numbers placeholder" aria-hidden="true">' . $next_text . '</span></div>', $posts_pagination );
Note: See TracChangeset
for help on using the changeset viewer.