You appear to be a bot. Output may be restricted
Description
Prints HTML with the comment count for the current post.
Usage
twentynineteen_comment_count();
Parameters
Returns
void
Source
File name: twentynineteen/inc/template-tags.php
Lines:
1 to 11 of 11
function twentynineteen_comment_count() { if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) { echo '<span class="comments-link">'; echo twentynineteen_get_icon_svg( 'comment', 16 ); /* translators: %s: Post title. Only visible to screen readers. */ comments_popup_link( sprintf( __( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'twentynineteen' ), get_the_title() ) ); echo '</span>'; } }