CSS for only removing "Comments Off" ?
-
Is there a way with CSS to make it so the Comments show if you have comments but do not show “COMMENTS OFF”. When I have posts or pages with comments turned off I don’t need that statement there. I would like it to show nothing.
Way down near the bottom of this discussion @thejiggerypokery supplied the php code to do what I want it to do but if I can change it in CSS that would be preferred.
I would like to set it so it displays as follows:
if no comments, displays –> Leave a comment ?
if 1 comment, displays –> 1 comment ?
if more than one comment (e.g. 5), displays –> 5 comments ?
css class –> not defined
if comments are off, displays –> is blankThe php code to make it do that is:
<?php comments_popup_link('Leave a comment ?', '1 Comment ?', '% Comments ?', '', ''); ?>
Ps. I am using the Brunelleschi Theme too. GREAT theme!
- The topic ‘CSS for only removing "Comments Off" ?’ is closed to new replies.