BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › Change "Leave a Reply" wording
Tagged: comments, leave a reply
- This topic has 6 replies, 3 contibutors, and was last updated 10 years ago by Alyssa.
Question
October 24, 2014 at 1:42 pm #32898Answers
October 24, 2014 at 9:28 pm #32918@alyssa-buddyboss
AlyssaParticipant@flick-chicks you would need to use the WordPress language file to translate this. See WordPress codex here: http://codex.wordpress.org/Translating_WordPress
October 25, 2014 at 1:27 pm #32936@flick-chicksHmm. 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?
October 25, 2014 at 5:39 pm #32941@alyssa-buddyboss
AlyssaParticipant@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.
October 27, 2014 at 4:00 pm #32986@flick-chicksGuess what, I found a SUPER easy plugin that works like a charm.
https://wordpress.org/plugins/custom-comment-form-title/
Cheers!
October 27, 2014 at 5:14 pm #32989@style960@flick-chicks This had never crossed my mind, but I can definitely put this plugin to meaningful use. Thanks for sharing 🙂
October 28, 2014 at 1:27 pm #33035@alyssa-buddyboss
AlyssaParticipantGreat solution, sorry i didn’t know of it before 😉
- The question ‘Change "Leave a Reply" wording’ is closed to new replies.