@@ 38-48 (lines=11) @@ | ||
35 | ?> |
|
36 | </h2> |
|
37 | ||
38 | <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> |
|
39 | <nav id="comment-nav-above" class="navigation comment-navigation" role="navigation"> |
|
40 | <h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'lighthouse' ); ?></h2> |
|
41 | <div class="nav-links"> |
|
42 | ||
43 | <div class="nav-previous"><?php previous_comments_link( esc_html__( 'Older Comments', 'lighthouse' ) ); ?></div> |
|
44 | <div class="nav-next"><?php next_comments_link( esc_html__( 'Newer Comments', 'lighthouse' ) ); ?></div> |
|
45 | ||
46 | </div><!-- .nav-links --> |
|
47 | </nav><!-- #comment-nav-above --> |
|
48 | <?php endif; // Check for comment navigation. ?> |
|
49 | ||
50 | <ol class="comment-list"> |
|
51 | <?php |
|
@@ 59-70 (lines=12) @@ | ||
56 | ?> |
|
57 | </ol><!-- .comment-list --> |
|
58 | ||
59 | <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> |
|
60 | <nav id="comment-nav-below" class="navigation comment-navigation" role="navigation"> |
|
61 | <h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'lighthouse' ); ?></h2> |
|
62 | <div class="nav-links"> |
|
63 | ||
64 | <div class="nav-previous"><?php previous_comments_link( esc_html__( 'Older Comments', 'lighthouse' ) ); ?></div> |
|
65 | <div class="nav-next"><?php next_comments_link( esc_html__( 'Newer Comments', 'lighthouse' ) ); ?></div> |
|
66 | ||
67 | </div><!-- .nav-links --> |
|
68 | </nav><!-- #comment-nav-below --> |
|
69 | <?php |
|
70 | endif; // Check for comment navigation. |
|
71 | ||
72 | endif; // Check for have_comments(). |
|
73 |