Try this. You can add this snippet in a child theme functions.php file.
Replace “Your No Comments String” with whatever you want.
/*
* @param string $output A translatable string formatted based on whether the count
* is equal to 0, 1, or 1+.
* @param int $number The number of post comments.
* @return string $output
*/
function richards_no_comment_string( $output, $number ){
if( $number === 0 ){
$output = __( 'Your No Comments String' );
}
return $output;
}
add_filter('comments_number', 'richards_no_comment_string', 20, 2);
For the free Sinatra theme, which uses a theme specific function to output that text, the customization would be to add to the child theme this function:
function sinatra_entry_meta_comments() {
$icon = sinatra()->icons->get_meta_icon( 'comments', sinatra()->icons->get_svg( 'message-square', array( 'aria-hidden' => 'true' ) ) );
if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
echo '<span class="comments-link">';
comments_popup_link( wp_kses_post( $icon ) . esc_html__( 'Leave a Comment', 'sinatra' ), wp_kses( $icon, sinatra_get_allowed_html_tags( 'post' ) ) . esc_html__( '1 Comment', 'sinatra' ), wp_kses( $icon, sinatra_get_allowed_html_tags( 'post' ) ) . esc_html__( '% Comments', 'sinatra' ), 'comments-link' );
echo '</span>';
}
}