Title: Replace &quot;Leave a reply&quot; with comment count
Last modified: August 30, 2016

---

# Replace "Leave a reply" with comment count

 *  [mattmaldre](https://wordpress.org/support/users/mattmaldre/)
 * (@mattmaldre)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/replace-leave-a-reply-with-comment-count/)
 * How would I replace the “Leave a reply” with the current comment count?
 * I’ve tried adding this to functions.php:
 *     ```
       function comment_reform ($arg) {
       $arg['title_reply'] = __(comments_number( 'No responses', 'One response', '% responses' ));
       return $arg;
       }
       add_filter('comment_form_defaults','comment_reform');
       ```
   
 * However, this does not work. (If it matters, I’m using the Canvas theme).

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

 *  [Peninah](https://wordpress.org/support/users/highlight_creative/)
 * (@highlight_creative)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/replace-leave-a-reply-with-comment-count/#post-6711264)
 * Instead of replacing it, could you remove the “Leave a reply,” and add the comment
   count via a hook? (I know the Canvas theme has a bunch.)
 *  [Ravikumar Patel](https://wordpress.org/support/users/ravipatel/)
 * (@ravipatel)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/replace-leave-a-reply-with-comment-count/#post-6711269)
 * Hi mattmaldre,
 * I have tested this code working fine with latest wordpress.
 * Please define more information. please add canvas theme url.
    Please see this
   [answer](https://support.woothemes.com/hc/communities/public/questions/201013057-Comments-change-Leave-a-Reply-title).(
   Not been able to change the ‘Leave a Reply’ title in the comments form for Canvas
   4.2.0.)
 * But provided a filter function for woo themes try.
    `comment_form_defaults to
   woo_comment_form_args`
 * [More hook Functions hear for wootheme.](https://support.woothemes.com/hc/en-us/articles/203106557-Canvas-Hooks-Filtered-Functions)
 * Thanks,
    Ravi patel

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

The topic ‘Replace "Leave a reply" with comment count’ is closed to new replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [leave a reply](https://wordpress.org/support/topic-tag/leave-a-reply/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Ravikumar Patel](https://wordpress.org/support/users/ravipatel/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/replace-leave-a-reply-with-comment-count/#post-6711269)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
