Show comment SOF buttons with 1+ comments
This commit is contained in:
parent
2263c2816f
commit
bb5a454717
@ -68,7 +68,7 @@ $is_ajax_comments = get_option( 'fictioneer_enable_ajax_comments' );
|
||||
echo '<div class="fictioneer-comments__disabled">' . __( 'Commenting is disabled.', 'fictioneer' ) . '</div>';
|
||||
}
|
||||
|
||||
if ( $comments_count > 1 ) {
|
||||
if ( $comments_count > 0 ) {
|
||||
// Start HTML ---> ?>
|
||||
<div id="sof" class="sort-order-filter _comments">
|
||||
<a class="list-button _order <?php echo $order === 'desc' ? '_on' : '_off'; ?>" href="<?php echo $order_link; ?>" rel='nofollow' aria-label="<?php esc_attr_e( 'Toggle comments between ascending and descending order', 'fictioneer' ); ?>">
|
||||
|
Loading…
x
Reference in New Issue
Block a user