Edit File by line
/home/barbar84/www/wp-conte.../themes/twentyni.../template.../post
File: discussion-meta.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* The template for displaying Current Discussion on posts
[2] Fix | Delete
*
[3] Fix | Delete
* @package WordPress
[4] Fix | Delete
* @subpackage Twenty_Nineteen
[5] Fix | Delete
* @since Twenty Nineteen 1.0
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
/* Get data from current discussion on post. */
[9] Fix | Delete
$discussion = twentynineteen_get_discussion_data();
[10] Fix | Delete
$has_responses = $discussion->responses > 0;
[11] Fix | Delete
[12] Fix | Delete
if ( $has_responses ) {
[13] Fix | Delete
/* translators: %d: Number of comments. */
[14] Fix | Delete
$meta_label = sprintf( _n( '%d Comment', '%d Comments', $discussion->responses, 'twentynineteen' ), $discussion->responses );
[15] Fix | Delete
} else {
[16] Fix | Delete
$meta_label = __( 'No comments', 'twentynineteen' );
[17] Fix | Delete
}
[18] Fix | Delete
?>
[19] Fix | Delete
[20] Fix | Delete
<div class="discussion-meta">
[21] Fix | Delete
<?php
[22] Fix | Delete
if ( $has_responses ) {
[23] Fix | Delete
twentynineteen_discussion_avatars_list( $discussion->authors );
[24] Fix | Delete
}
[25] Fix | Delete
?>
[26] Fix | Delete
<p class="discussion-meta-info">
[27] Fix | Delete
<?php echo twentynineteen_get_icon_svg( 'comment', 24 ); ?>
[28] Fix | Delete
<span><?php echo esc_html( $meta_label ); ?></span>
[29] Fix | Delete
</p>
[30] Fix | Delete
</div><!-- .discussion-meta -->
[31] Fix | Delete
[32] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function