WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Eleven - How to change Replies to Comments below post? (6 posts)

  1. win2000b
    Member
    Posted 2 years ago #

    Hi,

    I am using the Twenty Eleven theme but I would like to change the word replies to comments at the end of a post. I've shown this below. Does anyone know where I would edit this as I cant find it anywhere.

    http://www.taniaandcarostransam.co.uk/replies.jpg

    Thanks in advance for any help

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. First create a child theme for your changes.

  3. win2000b
    Member
    Posted 2 years ago #

    Thanks. I will do this. Any ideas once I've done this where I edit it?

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    You would need a custom copy of content.php (at least) in your child theme. The line you need to change is near the end of that file.

  5. win2000b
    Member
    Posted 2 years ago #

    Thanks but which line? lol.

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>

Topic Closed

This topic has been closed to new replies.

About this Topic