WordPress.org

Ready to get started?Download WordPress

Forums

Which file controls the link to the comment anchor? (2 posts)

  1. jimday1982
    Member
    Posted 8 years ago #

    I have my blog set up to display "Leave a comment" if not comments have been made on a post, but WordPress defaults the link to postname/#respond and I need it to link to postname/#comments so the user is acutally taken to the comments anchor. If someone could be so kind as to post the filename and location of the file that controls this behavior, I would GREATLY appreciate it - I'm having a tough time locating it. Thanks!

  2. jimday1982
    Member
    Posted 8 years ago #

    Never fails - I found the file shortly after I posted this. It's in wp-includes/comment-functions.php.

Topic Closed

This topic has been closed to new replies.

About this Topic