WordPress.org

Ready to get started?Download WordPress

Forums

Remove "Leave a Comment" (2 posts)

  1. ssweeten
    Member
    Posted 4 years ago #

    What do I need to delete to get rid of the "Leave a Comment"? This is my comments.php...

    [Code moderated as per the Forum Rules. Please use the pastebin]

  2. vtxyzzy
    Member
    Posted 4 years ago #

    You want to look where the 'comments_popup_link' is called, not in comments.php. Make a backup copy of index.php, then remove this line:

    <p class="comments"><?php comments_popup_link('Leave a Comment', 'Comments (1)', 'Comments (%)'); ?></p>

Topic Closed

This topic has been closed to new replies.

About this Topic