Skip to content

Commit

Permalink
Coding standards in comments.php
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldomatias committed Sep 24, 2017
1 parent e8d4898 commit 22d87fb
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@
</h3>

<?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-navigation" role="navigation">
<h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'coletivo' ); ?></h2>
<div class="nav-links">
<nav id="comment-nav-above" class="navigation comment-navigation" role="navigation">
<h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'coletivo' ); ?></h2>
<div class="nav-links">

<div class="nav-previous"><?php previous_comments_link( esc_html__( 'Older Comments', 'coletivo' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( esc_html__( 'Newer Comments', 'coletivo' ) ); ?></div>
<div class="nav-previous"><?php previous_comments_link( esc_html__( 'Older Comments', 'coletivo' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( esc_html__( 'Newer Comments', 'coletivo' ) ); ?></div>

</div><!-- .nav-links -->
</nav><!-- #comment-nav-above -->
</div><!-- .nav-links -->
</nav><!-- #comment-nav-above -->
<?php endif; // Check for comment navigation. ?>

<ol class="comment-list">
Expand All @@ -56,15 +56,15 @@
</ol><!-- .comment-list -->

<?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-navigation" role="navigation">
<h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'coletivo' ); ?></h2>
<div class="nav-links">
<nav id="comment-nav-below" class="navigation comment-navigation" role="navigation">
<h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'coletivo' ); ?></h2>
<div class="nav-links">

<div class="nav-previous"><?php previous_comments_link( esc_html__( 'Older Comments', 'coletivo' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( esc_html__( 'Newer Comments', 'coletivo' ) ); ?></div>
<div class="nav-previous"><?php previous_comments_link( esc_html__( 'Older Comments', 'coletivo' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( esc_html__( 'Newer Comments', 'coletivo' ) ); ?></div>

</div><!-- .nav-links -->
</nav><!-- #comment-nav-below -->
</div><!-- .nav-links -->
</nav><!-- #comment-nav-below -->
<?php endif; // Check for comment navigation. ?>

<?php endif; // Check for have_comments(). ?>
Expand Down

0 comments on commit 22d87fb

Please sign in to comment.