WordPress HELP Editing comment-template.php

Discussion in 'PHP' started by Barack Obama, Mar 19, 2009.

  1. #1
    My blog has posts with 500+ comments and they just keep coming every day. Some comments are 1000+ words long (longer than the post itself) - people simply like commenting on my posts and engage in discussion with each other. But it greatly reduces my keyword density.

    I want to insert post title within each comment 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()) ?>
    Code (markup):
    How do I insert get_post_title there so post title is displayed after the "on " part?
     
    Barack Obama, Mar 19, 2009 IP