BuddyBoss Home – Web Support Forums Themes BuddyBoss theme Change "Leave a Reply" wording

Viewing 7 posts - 1 through 7 (of 7 total)
  • Question

    #32898
    @flick-chicks

    Hi,

    I’m using the child theme. Is there a way to easily change the wording “Leave a Reply” in the comments section to “Leave a Comment”?

    Answers

    #32918

    Alyssa
    Participant
    @alyssa-buddyboss

    @flick-chicks you would need to use the WordPress language file to translate this. See WordPress codex here: http://codex.wordpress.org/Translating_WordPress

    #32936
    @flick-chicks

    Hmm. That gets rather technical for me. I was expecting you would give me a bit of php code that I just needed to replace. This article https://wordpress.org/support/topic/changing-the-text-leave-a-reply gives one solution to make the change in the comments.php file, but I wasn’t sure if it was correct to do with the buddyboss child theme.

    Quote from the article: I found <?php comment_form(); ?> and replaced it with <?php comment_form( array( ‘title_reply’ => ‘Comment here please’, ‘label_submit’ => ‘Go go go!’ ) ); ?>

    I don’t know php, but I do know how to copy the comments.php file to the child theme, then I could find-and-replace the code with what is mentioned above. Would that work?

    #32941

    Alyssa
    Participant
    @alyssa-buddyboss

    @flick-chicks the language file is much easier to use. You can use a plugin called https://wordpress.org/plugins/codestyling-localization/ to get this done without editing theme files. (The best way) I’ll leave it up to you if you want to edit the WordPress files, but I can’t support that.

    #32986
    @flick-chicks

    Guess what, I found a SUPER easy plugin that works like a charm.

    https://wordpress.org/plugins/custom-comment-form-title/

    Cheers!

    #32989
    @style960

    @flick-chicks This had never crossed my mind, but I can definitely put this plugin to meaningful use. Thanks for sharing 🙂

    #33035

    Alyssa
    Participant
    @alyssa-buddyboss

    Great solution, sorry i didn’t know of it before 😉

Viewing 7 posts - 1 through 7 (of 7 total)
  • The question ‘Change "Leave a Reply" wording’ is closed to new replies.