• I use twenty twelve theme. I set my home page listing all post. And in the home page where the post has comments, it’s displays 1, 2 or more replies. I’d like to remove this text : “1 reply” or “x replies” but i don’t know how to do?
    If someone could help me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there,

    Please try entering this into your custom CSS or your child-theme CSS; or if you have Jetpack installed, go to Appearance –> Edit CSS:

    .comments-link { display: none; }

    That should prevent them from displaying.

    Best regards,
    Digilodger

    Thread Starter pracede

    (@pracede)

    I just want to desable the comment link on home page. And on the post page, i will customize the comment link.
    So if i edit my css file by making:
    .comments-link { display: none; }
    I could not see it on my post page, isn’t it ?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You’re much more likely to lose this change if you don’t apply it to a Child Theme stylesheet or Custom CSS plugin.

    Thread Starter pracede

    (@pracede)

    I use a child theme!

    Oh, so you only want it to disappear on the home page, but still appear on single-post page?

    Then please use this instead:

    .home .entry-header .comments-link { display: none; /* comment count not appear on home */ }

    Hope that works for you,
    Digilodger

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[ Twenty twelve theme] How to delete reply on home page’ is closed to new replies.