- Timestamp:
- 12/14/2018 07:08:06 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-content/themes/twentynineteen/inc/template-tags.php
r43892 r44187 158 158 <figure class="post-thumbnail"> 159 159 <a class="post-thumbnail-inner" href="<?php the_permalink(); ?>" aria-hidden="true" tabindex="-1"> 160 <?php 161 the_post_thumbnail( 'post-thumbnail' ); 162 ?> 160 <?php the_post_thumbnail( 'post-thumbnail' ); ?> 163 161 </a> 164 162 </figure> … … 211 209 comment_form( 212 210 array( 213 'logged_in_as' 214 'title_reply' 211 'logged_in_as' => null, 212 'title_reply' => null, 215 213 ) 216 214 ); … … 224 222 */ 225 223 function twentynineteen_the_posts_navigation() { 226 $prev_icon = twentynineteen_get_icon_svg( 'chevron_left', 22 );227 $next_icon = twentynineteen_get_icon_svg( 'chevron_right', 22 );228 224 the_posts_pagination( 229 225 array( 230 226 'mid_size' => 2, 231 'prev_text' => sprintf( '%s <span class="nav-prev-text">%s</span>', $prev_icon, __( 'Newer posts', 'twentynineteen' ) ), 232 'next_text' => sprintf( '<span class="nav-next-text">%s</span> %s', __( 'Older posts', 'twentynineteen' ), $next_icon ), 227 'prev_text' => sprintf( 228 '%s <span class="nav-prev-text">%s</span>', 229 twentynineteen_get_icon_svg( 'chevron_left', 22 ), 230 __( 'Newer posts', 'twentynineteen' ) 231 ), 232 'next_text' => sprintf( 233 '<span class="nav-next-text">%s</span> %s', 234 __( 'Older posts', 'twentynineteen' ), 235 twentynineteen_get_icon_svg( 'chevron_right', 22 ) 236 ), 233 237 ) 234 238 );
Note: See TracChangeset
for help on using the changeset viewer.