How to Customize Giving Levels in Seamless Donations

If you would like to customize the giving levels in Seamless Donations, you can select which giving levels you’d like to appear by going to your dashboard and selecting them on the Seamless Donations > Settings page. There you can choose from the built-in giving levels of 1000, 500, 200, 100, 50, 20, 10 and 5.

But what if you’d like different levels to choose from? Don’t modify the Seamless Donations plugin (you’ll lose your changes when you update the plugin), but instead add the following to your theme (e.g. your child theme’s functions.php, or many themes have a custom.php that is preserved across theme updates.)

function my_custom_giving_levels( $levels ) {
	return array( 300, 150, 100, 30, 10 );
}

add_filter( 'dgx_donate_giving_levels', 'my_custom_giving_levels' );

Just substitute the values you’d like above. You will then be able to use the Seamless Donations > Settings page to work with your new giving levels.

Advertisements

14 thoughts on “How to Customize Giving Levels in Seamless Donations”

  1. This is not working for me the theme has custom.php, but when I copy and paste the code change the donation amount and save some of the code gets erased. I am using the Kause theme.

    Like

  2. HI…I used your code and it works to show updated amounts in the plugin settings…but the page that is created with the shortcode does not show the updated amounts…it defaults to standard amounts…any thoughts?

    Liked by 1 person

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s