Ready to get started?Download WordPress


Removing "no comments yet" (7 posts)

  1. basereader42
    Posted 10 months ago #

    I'd like to stop the "no comments yet" link from appearing on my site. I've removed "comment" and "reply" capabilities, but "no comments yet" continues to display.

    Thanks in advance for any help and for developing an outstanding theme.

  2. Murdok
    Posted 10 months ago #

    To remove the comments area and comment count above posts I used the following CSS:

    .entry-meta .info-comment,.entry-meta.entry-meta-tertiary,#respond.comment-respond,#comments.comments-area{display:none !important;}

  3. ggam
    Posted 10 months ago #

    If you just wish to remove "no comments yet" then CSS is:

    .entry-meta .info-comment,.entry-meta.entry-meta-tertiary {display:none !important;}

  4. basereader42
    Posted 10 months ago #

    Great, thanks for the correct CSS!

  5. propel25
    Posted 4 months ago #

    on which php file do we add the css above, page.php, theme.php etc??

  6. readallablogit
    Posted 3 months ago #

    You'd add this in the styles.css document.

  7. esmi
    Forum Moderator
    Posted 3 months ago #

    @readallablogit:Thank you contributing to the forums but please do not encourage people to edit theme files directly. At best, they will lose all of their changes when they update the theme. At worst, they could bring their site down. They should be recommended to create a child theme or use a custom CSS plugin for their changes.


You must log in to post.

About this Theme

About this Topic


No tags yet.