Code is prettier when consistent.
This commit is contained in:
@@ -45,16 +45,16 @@
|
|||||||
<?php if (get_comment_pages_count() > 1 && get_option('page_comments')) : // are there comments to navigate through ?>
|
<?php if (get_comment_pages_count() > 1 && get_option('page_comments')) : // are there comments to navigate through ?>
|
||||||
<nav id="comments-nav" class="pager">
|
<nav id="comments-nav" class="pager">
|
||||||
<ul class="pager">
|
<ul class="pager">
|
||||||
<?php if (get_previous_comments_link()) : ?>
|
<?php if (get_previous_comments_link()) : ?>
|
||||||
<li class="previous"><?php previous_comments_link(__('← Older comments', 'roots')); ?></li>
|
<li class="previous"><?php previous_comments_link(__('← Older comments', 'roots')); ?></li>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<li class="previous disabled"><a><?php _e('← Older comments', 'roots'); ?></a></li>
|
<li class="previous disabled"><a><?php _e('← Older comments', 'roots'); ?></a></li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if (get_next_comments_link()) : ?>
|
<?php if (get_next_comments_link()) : ?>
|
||||||
<li class="next"><?php next_comments_link(__('Newer comments →', 'roots')); ?></li>
|
<li class="next"><?php next_comments_link(__('Newer comments →', 'roots')); ?></li>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<li class="next disabled"><a><?php _e('Newer comments →', 'roots'); ?></a></li>
|
<li class="next disabled"><a><?php _e('Newer comments →', 'roots'); ?></a></li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user