Skip to content

How to Change ‘Donate’ Button Text

There are a couple ways you can change the text in Charitable.

You could use a translation plugin like TranslatePress, or you can use a little bit of code. Here is a code snippet you can adapt: 

https://github.com/Charitable/library/blob/master/general/change-plugin-text.php  

How to add a code snippet

If you are new to PHP or WordPress development, we recommend adding these code snippets using the Code Snippets plugin. This allows you to add the code directly within your WordPress dashboard.

For those a little more familiar with WordPress development, you can use the snippets to create simple standalone plugins. Read the WordPress documentation about creating a plugin.

Alternatively, you could add the snippets directly to your theme or child theme’s functions.php file.

Problems?

If you run into any problems with this, please post your code snippet into a Gist at https://gist.github.com so that we can easily help you out.

[class^="wpforms-"]
[class^="wpforms-"]
[class^="wpforms-"]
[class^="wpforms-"]