Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 112516

claire3d on "How to remove "No Comments" link from a post"

$
0
0

Hi - have come across this a few times - some of the past suggestions don't work so I thought I'd post an update for how I was able to do this.

Open comment-template.php:
Location: wp-includes > comment-template.php

Removing the quoted text along will not resolve the issue. You ened to remove the following lines entirely:

`elseif ( $number == 0 )
$output = ( false === $zero ) ? __('no comments') : $zero;
else // must be one
$output = ( false === $one ) ? __('1 Comment') : $one;`

Hope this helps :)


Viewing all articles
Browse latest Browse all 112516

Trending Articles