wp-comments.php has the following logic
!– If comments are closed. —
p class=”nocomments” Comments are closed. /p
Is that the message you’re getting?
I looked in that file and didn’t find the words COMMENTS OFF, which is what I’m seeing. It’s in a grey bar below each post. If comments were on, this is the same bar that would tabulate comments numerically.
‘Comments Off’
* Line 58 of wp-includes/template-functions-comment.php has the words ‘Comments Off’ (1.2mingus)
(Answered here before)
Thanks man. Concerning previous posted answers, I just want to make it clear that at least this newbie is trying to find answers before posting, since it saves time for both of us. I did search, but I must have not found the key word to make the search fruitful.
Sorry.
THINKING OUT LOUD: Not that I don’t want people using WP, but I think it’s kind of weak as forum software the way this site uses it. Pride aside, PHP boards would offer a better method of storing and finding stuff– since discussions could be split between WP versions and subheading categories almost endless.
Still, I appreciate this place very much for what it offers, and endeavor to offer support once I know enough. That will be a while still unfortunately.
Anyhow, thanks again.
For future reference, this does not need to be edited directly in template-functions-comment.php, as there is a parameter for it (‘none’) in comments_popup_link:
http://codex.wordpress.org/Template_Tags/comments_popup_link
I just upgraded my blog to 1,5 and I want to hide the display of “comments off” Can someone explain step by step how to do this, as I don’t really understand how to alter the parameters in my new 1.5
thanx George
On line 90 of “comment-functions.php” is this
function comments_popup_link($zero='No Comments', $one='1 Comment', $more='% Comments', $CSSclass='', $none='Comments Off')
Just alter the ‘Comments Off’ there 🙂
(Line number as counted by notepad++ http://notepad-plus.sourceforge.net/ )
I would recommend changing your template rather than the core. The example found on the link Kafkaeski gives is a good one.
<?php comments_popup_link('No comments yet', '1 comment so far',
'% comments so far (is that a lot?)', 'comments-link', 'Comments are
off for this post'); ?>
I’m running WordPress 2.0.2 and am having problems with “Comments Off” no longer being displayed. Instead you press “No comments” only to find you can’t post any comments. I’m sure my posts used to say “Comments Off” but no longer…
I want to got this working again, and have found some information on it, like that there’s a pluggin called “Smart Comments Plugin v 2.0” which does exactly this – But now I’m not sure I want to install a pluggin yet or go about fancy ways of fixing this when I’m sure it was working originally.
Any suggestions?
I figured it out myself: Pings must also be unchecked in order for ‘Comments Off’ to be displayed.