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://library.wpcode.com/snippet/32j0vx5l/

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 contact us.