default-loop.php minor update needed for comment count
-
Line 19 of templates/default-loop.php needs a slight tweak when using the [post] shortcode:
<a href="<?php comments_link(); ?>" class="su-post-comments-link"><?php comments_number( __( '0 comments', 'su' ), __( '1 comment', 'su' ), __( '%n comments', 'su' ) ); ?></a>Example: A post with 56 comments results in “56n comments”.
Solution: Change “%n comments” to “% comments”.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘default-loop.php minor update needed for comment count’ is closed to new replies.