Title: Help Editing comment-template.php
Last modified: August 19, 2016

---

# Help Editing comment-template.php

 *  [Tranny](https://wordpress.org/support/users/tranny/)
 * (@tranny)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/help-editing-comment-templatephp/)
 * I want to insert post title within each comment (I get hundreds of comments, 
   many are hundreds words long and it severely reduces my keyword density). So 
   I thought I’d insert the title of the post somewhere within each comment.
 * I thought of replacing the “says” part which is listed after name of the commenter
   with “on post_title”
 * I’m having troubles figuring out how to deal with this part of the code:
 * `<?php printf(__('<cite class="fn">%s</cite> <span class="says">on </span>'),
   get_comment_author_link()) ?>`
 * How do I insert get_post_title there so post title is displayed after the “on”
   part?

The topic ‘Help Editing comment-template.php’ is closed to new replies.

## Tags

 * [comment-template.php](https://wordpress.org/support/topic-tag/comment-template-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Tranny](https://wordpress.org/support/users/tranny/)
 * Last activity: [17 years, 2 months ago](https://wordpress.org/support/topic/help-editing-comment-templatephp/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
