• I still want comments on the posts, but I don’t want the “Leave A Reply” link that appears above the post. Most people will just scroll to the bottom in my opinion.

    How can I accomplish this? Do I need to copy comments.php into my child theme or is it achieved in the functions.php of my child?

    Thanks in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Just add this CSS to the end of your child theme style.css file:

    .comments-link {
       display: none;
    }

    Note that this will also hide all “leave a reply” links on the blog/home page. If you just want to hide it on individual post pages, then add .single at the front:

    .single .comments-link {
       display: none;
    }

    Thread Starter nicholascarrigg

    (@nicholascarrigg)

    Strange. I tried your first suggestion and it did nothing.

    Here’s my site if you wanna check out the CSS.

    I took a look under Chrome and Firefox and the “Leave a Reply” link under the post titles are gone, maybe you need to clear your browser cache. Or maybe I mis-understood which link you were trying to get rid of.

    Thread Starter nicholascarrigg

    (@nicholascarrigg)

    I’m using IE at the moment (not by choice). Will this fix not work for IE users?

    Thread Starter nicholascarrigg

    (@nicholascarrigg)

    Nope, I was wrong. It does work for IE after clearing the cache. Thanks!

    Great!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Get Rid of "Leave A Reply" in Twenty Twelve’ is closed to new replies.