Support » Plugin: GiveWP - Donation Plugin and Fundraising Platform » Change fields names in receipt

  • Resolved susantau

    (@susantau)


    I’m trying to use the GIVE plugin to add the capability to a neighborhood association website that gives neighborhood residents a way to become members (or renew membership) and pay their annual dues online.

    So I want to change the word “donor” and “donation” everywhere to “member” and “annual membership dues”. I have successfully done this almost everywhere except the receipt success or failure pages, which automatically display.

    For example, this page:
    https://westuniversityneighborhood.org/membership-subscription-success/

    Is there any way that I can change those words on those pages?

    Thanks.

    • This topic was modified 2 weeks, 4 days ago by susantau.
    • This topic was modified 2 weeks, 4 days ago by susantau.
    • This topic was modified 2 weeks, 4 days ago by susantau.
    • This topic was modified 2 weeks, 4 days ago by susantau.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • I was able to figure out how to change the field names in the receipt by changing some of the words used in the file: templates/shortcode-receipt.php

    You might be able to see that now:
    https://westuniversityneighborhood.org/membership-subscription-success/

    HOWEVER I realize these changes will probably have to be re-enacted every time you issue a new GIVE update. So – I would still love any suggestions you may have for a better way to manage receipt language. I’m hoping I missed in your settings where this is customizable.

    It’s a fantastic plugin, btw. I’ve been using it for 3 years on another non-profit site where I didn’t need to change any language and could basically use it out of the box.

    • This reply was modified 2 weeks, 4 days ago by susantau.
    Plugin Support Ben Meredith

    (@benmeredithgmailcom)

    Hi @susantau

    First, thanks so much for the kind words about GiveWP. I never get tired of hearing how we are helping both nonprofits and their “web folks” get straight to raising money. (we’d love a review here if you have time: https://wordpress.org/support/plugin/give/reviews/ )

    Next, the best way to change the wording (in any spot that it’s not modifiable in the User Interface) is using WordPress’ built in translation functionality.

    It’s essentially a way to leverage translations, even when you don’t want to translate to another language, so that when you update GiveWP you don’t have to go through and change all those files again.

    A while back we had a user contribute a PHP snippet that changes the word “Donate” to “Contribute” (as well as its derivatives) throughout the plugin. That snippet is here: https://github.com/impress-org/givewp-snippet-library/blob/master/translation-snippets/change-all-instances-donation.php

    If you need assistance implementing custom PHP code on your website we have this guide:

    https://givewp.com/documentation/resources/adding-custom-functions-to-your-wordpress-website/​

    Please note that this code snippet is provided as an example of how you can extend Give with code. It’s up to you to implement and customize to your liking. We cannot provide support for custom code on your website, only the code that we create and distribute.

    I’d strongly recommend testing this snippet in a staging environment.

    Hello Ben,

    Thanks a gadzillion for your very informative reply. I will follow these instructions to change the field names, instead of the transient fix I am currently using. And YES I will write a review of GIVE, after I complete its setup in my current project.

    I so value your articulate, smart, proactive customer support!!

    thanks again,
    Susan

    • This reply was modified 1 week, 3 days ago by susantau.
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.