This post describes how to move or remove the “Leave a reply” link that appears below the post heading in the Twenty Twelve theme for WordPress.
Link placement before edit…
The fastest and easiest way for a self hosted blog is to simply override the CSS styles that governs the link by editing the custom CSS that is part of WordPress:
Link to Edit CSS in the WordPress admin site.
By adding the following CSS styles the link is moved:
#content .post { position: relative; } #content .comments-link { position: absolute; bottom: 1em; } #content .post { padding-bottom: 3em; }
(The first two rules moves the link to the bottom, the last one adds some padding that I felt was needed)
The result is that the “Leave a reply” link is below the post, as seen below:
Link placement after edit…
If you rather not have the link at all, it is easily removed by adding the following CSS:
#content .comments-link { display: none; }
Result after display:none;
The actual comments box is still visible and available in the post itself in case you still want to be able to get comments on posts.
Very simple, easy to implement.
Thank you! This was extremely helpful.
Worked great! A much faster simpler courteous solution than what’s been/being heatedly discussed in some of the WordPress support forums.
So, it is not necessary to first create a child theme?
Hi, not unless you want or need it for something else.
Thank you, I can’t believe how easy that was.
Simple and elegant fix! Thank you very much! This could have taken hours -instead of minutes.
Only one wee problem. Although the ‘Leave a Reply now shows up at the bottom only, when I attempt to share it, the Leave a Reply still ends up in the beginning of the first sentence of my post. Any ideas on how to remedy that? I hope it is as easy as deleting code from the Editor . . .
Thank you so much for the tip
Thank you so much for this!!! I just created/started my blog and I am sooo overwhelmed and frustrated, I am already about to quit. I can’t even believe I found myself here as I was not sure how to google my question and frustration!
Wow, thank you!
I don’t usually find themes where the comments are so difficult to turn off in static pages. I am using Novelite for a client and was going crazy trying to disallow them in static pages but there was no easy way.
I’ve followed your instructions and it works!!
Thanks, it was most helpful.
Laurel.
Wow, thank you!
I don’t usually find themes where the comments are so difficult to turn off in static pages. I am using Novelite for a client and was going crazy trying to disallow them in static pages but there was no easy way.
I’ve followed your instructions and it works!!
Thanks, it was most helpful.
Laurel.
I just started my blog and i really need for this information. thanks
Pingback: Tinkering | thelmaphillips.ca