Comments Link Still Appears When Comments Are Disabled For The Post
-
I found a post describing a similar problem, but couldn’t understand the response. I have a line:
<a href='<?php comments_link(); ?>'><font color='#374a5f' size='2'>Comment</font>
And it appears whether comments are enabled or not. I’m sure there’s an if statement I can put it into, but I’ve scoured template tags and can’t find the property of the post that says whether or not comments are enabled – only the one that says whether or not it’s got any yet. I tried $comments, but that stopped the link appearing on any posts, even if they had comments enabled.
Any help greatly appreciated.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Comments Link Still Appears When Comments Are Disabled For The Post’ is closed to new replies.