|
@@ 53-63 (lines=11) @@
|
| 50 |
|
|
| 51 |
|
<?php |
| 52 |
|
|
| 53 |
|
if (get_comment_pages_count() > 1 |
| 54 |
|
&& get_option('page_comments')) { // Are there comments to navigate through? ?> |
| 55 |
|
<nav id="comment-nav-above" class="navigation comment-navigation" role="navigation"> |
| 56 |
|
<h2 class="screen-reader-text"><?php esc_html_e('Comment navigation', 'podium');?></h2> |
| 57 |
|
<div class="nav-links"> |
| 58 |
|
<div class="nav-previous"><?php previous_comments_link( |
| 59 |
|
esc_html__('Older Comments', 'podium') |
| 60 |
|
);?></div> |
| 61 |
|
<div |
| 62 |
|
class="nav-next"><?php next_comments_link(esc_html__('Newer Comments', 'podium'));?></div> |
| 63 |
|
|
| 64 |
|
</div><!-- .nav-links --> |
| 65 |
|
</nav><!-- #comment-nav-above --> |
| 66 |
|
<?php } |
|
@@ 79-92 (lines=14) @@
|
| 76 |
|
?> |
| 77 |
|
</ol><!-- .comment-list --> |
| 78 |
|
|
| 79 |
|
<?php if (get_comment_pages_count() > 1 && get_option('page_comments')) {?> |
| 80 |
|
<nav id="comment-nav-below" class="navigation comment-navigation" role="navigation"> |
| 81 |
|
<h2 class="screen-reader-text"><?php esc_html_e('Comment navigation', 'podium');?></h2> |
| 82 |
|
<div class="nav-links"> |
| 83 |
|
<div class="nav-previous"><?php previous_comments_link(esc_html__('Older Comments', 'podium'));?></div> |
| 84 |
|
<div class="nav-next"><?php next_comments_link(esc_html__('Newer Comments', 'podium'));?></div> |
| 85 |
|
</div><!-- .nav-links --> |
| 86 |
|
</nav><!-- #comment-nav-below --> |
| 87 |
|
<?php }?> |
| 88 |
|
<?php }?> |
| 89 |
|
|
| 90 |
|
<?php if (!comments_open() |
| 91 |
|
&& '0' != get_comments_number() |
| 92 |
|
&& post_type_supports(get_post_type(), 'comments')) { |
| 93 |
|
?> |
| 94 |
|
<p class="no-comments"><?php esc_html_e('Comments are closed.', 'podium');?></p> |
| 95 |
|
<?php }?> |