Home Forums Xi Theme Discussion & Support label for comments box

This topic is: resolved

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Nick Truscott 4 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3350

    Nick Truscott
    Participant
    Post count: 67

    Hi Tim,

    Where do I go to change the label for the comments from “Leave a reply” to “Leave a comment”?

    Can I build this into my child theme so I don’t have to worry when the theme is updated?

    Thanks

    Nick

    #3357

    themeweaver
    Keymaster
    Post count: 730

    If you mean the Leave a Comment in the post header, this is defined in function livingos_post_meta() in \base\content.php.

    You can redefine this function in a child theme or you could make use of a language translation file to change the text (this will work for all text strings in our themes and WordPress itself). E.g. see http://www.ostraining.com/blog/wordpress/language-strings-wordpress/

    If you mean the comment form title ‘Leave a Reply’, this is generated by WordPress.

    The theme uses the standard comment_form() WordPress function in comments.php. This function can take additional parameters, including the title. See http://codex.wordpress.org/Function_Reference/comment_form

    #3374

    Nick Truscott
    Participant
    Post count: 67

    OK ta – waaaaaaaaay too much effort!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.