_s: Re-introduce nav-
prefix for previous/next links.
This way we can select both links with `[class*="nav-"]`.
This commit is contained in:
parent
ee7323950a
commit
6056c1ed66
3 changed files with 10 additions and 10 deletions
|
@ -36,8 +36,8 @@
|
|||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
|
||||
<nav id="comment-nav-above" class="navigation-comment" role="navigation">
|
||||
<h1 class="screen-reader-text"><?php _e( 'Comment navigation', '_s' ); ?></h1>
|
||||
<div class="previous"><?php previous_comments_link( __( '← Older Comments', '_s' ) ); ?></div>
|
||||
<div class="next"><?php next_comments_link( __( 'Newer Comments →', '_s' ) ); ?></div>
|
||||
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', '_s' ) ); ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', '_s' ) ); ?></div>
|
||||
</nav><!-- #comment-nav-before -->
|
||||
<?php endif; // check for comment navigation ?>
|
||||
|
||||
|
@ -56,8 +56,8 @@
|
|||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
|
||||
<nav id="comment-nav-below" class="navigation-comment" role="navigation">
|
||||
<h1 class="screen-reader-text"><?php _e( 'Comment navigation', '_s' ); ?></h1>
|
||||
<div class="previous"><?php previous_comments_link( __( '← Older Comments', '_s' ) ); ?></div>
|
||||
<div class="next"><?php next_comments_link( __( 'Newer Comments →', '_s' ) ); ?></div>
|
||||
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', '_s' ) ); ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', '_s' ) ); ?></div>
|
||||
</nav><!-- #comment-nav-below -->
|
||||
<?php endif; // check for comment navigation ?>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue