WordPress.org

Ready to get started?Download WordPress

Forums

WP Customer Reviews
How to change this phrase "Submit your review" (19 posts)

  1. prez2017
    Member
    Posted 2 years ago #

    Can you help me? I translate plugin in ukrainian language, but cant find where phrase "Submit your review" in the code. Looks like this. Thank you.

    http://wordpress.org/extend/plugins/wp-customer-reviews/

  2. Rene Michaels
    Member
    Posted 2 years ago #

    I'd like the answer to that question as well.

    I edited lines 164,167, and 175 on the "wp-customer-reviews/wp-customer-reviews.php" file but it didn't change the output.

  3. mymousepad
    Member
    Posted 2 years ago #

    Any results to this??

  4. prez2017
    Member
    Posted 2 years ago #

    Its ok now. I edited lines in "wp-customer-reviews.php", and clear cash.

  5. studyboxx
    Member
    Posted 2 years ago #

    "Submit your review" can be found in line 1057 in wp-customer-reviews.php

  6. studyboxx
    Member
    Posted 2 years ago #

    I'm sorry, that's incorrect actually. Line 1057 allows you to change "please verify that you are a human"

  7. angelfire4xx
    Member
    Posted 2 years ago #

    I don't know what I'm doing wrong. I want to change the title on the review form 'Submit your review' to 'Create a testimonial'. I changed the line in wp-customer-reviews.php and re-uploaded the file but the original wording still shows on my site. Is anyone else getting this? Tried clearing the browser cache but that didn't help.

  8. angelfire4xx
    Member
    Posted 2 years ago #

    PS, just thought I'd mention I have already made the necessary change in the plugin settings. Changes to the button text are working fine, but not the change to the review form heading.

  9. Doifro
    Member
    Posted 2 years ago #

    Edit wp-customerw-review-admin.php line 644.
    Line should be like this : <label for="leave_text">Text to be displayed above review form: </label><input style="width:250px;" type="text" id="leave_text" name="leave_text" value="'.$this->options['leave_text'].'" />

    So replace all "goto_leave_text" text in this line to "leave_text"

    After this you can change the word to whatever you want in admin page

    ps: may wont need after first edit in admin page but surely will after second edit.

  10. angelfire4xx
    Member
    Posted 2 years ago #

    Doifro, thanks very much for your helpful reply. I tried what you suggested but still the title on the review form remains as 'Submit your review', and will not change whatever I do. Only the button text changes.

    I even deleted the plugin files and reinstalled it from the original zip file, but even so, it seemed to remember my previous settings, so is it interacting with WordPress in some permanent way that I need to find out?

  11. djfryslan
    Member
    Posted 2 years ago #

    I've got the same problem. I'd also know how to edit the 'Submit your review' line above the form.

    Thank you in advance.

  12. angelfire4xx
    Member
    Posted 2 years ago #

    Problem now fixed. I used Doifro's solution, I think there was also a goto_leave_text in wp_customer_reviews.php which needed to be changed. Anyway, whatever I did, the problem is fixed - thanks for the help :-)

  13. da4kinov
    Member
    Posted 2 years ago #

    How did you solve the proble. I cannot change the Submit button text yet.

  14. longnha
    Member
    Posted 2 years ago #

    The change available in new version 2.4.3

  15. Tim0000
    Member
    Posted 2 years ago #

    open wp-customer-reviews.php

    Edit Line 2079

    from: <tr><td colspan="2"><div id="wpcr_postcomment">' . $this->options["leave_text"] . '</div></td></tr>

    into: <tr><td colspan="2"><div id="wpcr_postcomment">' . $this->options["goto_leave_text"] . '</div></td></tr>

    that´s it.

  16. claudiaeffe
    Member
    Posted 2 years ago #

    I did all the changes, but I still have the "Submit your review" in English. Could you please help?

  17. RDC4
    Member
    Posted 2 years ago #

    I tried both solutions posted on here and none of the worked... Please anybody help me

  18. jfkseo
    Member
    Posted 2 years ago #

    Anyone need this. Here is the solution.

    The only way to change the text: "Click here to submit your review" is through DB. Login to your phpmyadmin - search for exact: Click here to submit your review - and change it.
    Will work!

  19. Tim Griffin
    Member
    Posted 1 year ago #

    I believe I found an error in the current version 2.4.5

    Take a look at line 645 in wp-customer-reviews-admin.php (which is nearly a duplicate of line 641):

    <label for="leave_text">Text to be displayed above review form: </label><input style="width:250px;" type="text" id="goto_leave_text" name="goto_leave_text" value="'.$this->options['goto_leave_text'].'" />

    To this:
    <label for="leave_text">Text to be displayed above review form: </label><input style="width:250px;" type="text" id="leave_text" name="leave_text" value="'.$this->options['leave_text'].'" />

    I've applied this edit and reinstalled the plugin so now the changes I made in the admin work as intended.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic