Title: Remove &#039;Leave a Response&#039; link from functions.php
Last modified: August 20, 2016

---

# Remove 'Leave a Response' link from functions.php

 *  [Chris](https://wordpress.org/support/users/chips/)
 * (@chips)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/remove-leave-a-response-link-from-functionsphp/)
 * Is it possible to create a function to remove the link at the bottom of posts
   that says ‘Leave a response’ or ‘1 response’ etc?
 * And if it is, is it then possible to only remove it from posts that are in certain
   categories?
 * Any help with this would be much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/remove-leave-a-response-link-from-functionsphp/#post-2195409)
 * might be possible with css, if the theme uses post_class() on the post div, and
   if the ‘leave a reply’ link has it own css class.
 *  Thread Starter [Chris](https://wordpress.org/support/users/chips/)
 * (@chips)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/remove-leave-a-response-link-from-functionsphp/#post-2195601)
 * Ah brilliant, I forgot about the possibility of CSS for this. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 The topic ‘Remove 'Leave a Response' link from functions.php’ is closed to new 
replies.

 * 2 replies
 * 2 participants
 * Last reply from: [Chris](https://wordpress.org/support/users/chips/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/remove-leave-a-response-link-from-functionsphp/#post-2195601)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
