TChachra
Forum Replies Created
-
Forum: Plugins
In reply to: [Seamless Donations is Sunset] Customized AmountsThe following code seems to work:
function my_custom_giving_levels( $levels ) {
return array( 251, 151, 101, 51, 21 );
}add_filter( ‘dgx_donate_giving_levels’, ‘my_custom_giving_levels’ );
add_filter( ‘seamless_donations_giving_levels’, ‘my_custom_giving_levels’ );—–
Basically needed to add both filters in order for the levels to show on the form options and on the page with the shortcode….I will update you once tested.
Forum: Plugins
In reply to: [Seamless Donations is Sunset] Customized Amountsadd_filter( ‘seamless_donations_giving_levels’, ‘my_custom_giving_levels’ );
So, the above shows custom levels on the actual page, but not all of them…it cuts off after 3 custom levels.
Also, form options defaults back to the built in levels….
Forum: Plugins
In reply to: [Seamless Donations is Sunset] Customized AmountsPalmtree…..installed today.
Version 4.0Forum: Plugins
In reply to: [Seamless Donations is Sunset] Customized AmountsNope….the script does change the amounts in the Form Options…I select the ones I want and hit save but the page itself defaults to the standard amounts built in to the plug-in….
Forum: Plugins
In reply to: [Seamless Donations is Sunset] Customized AmountsI tried the following code:
function my_custom_giving_levels( $levels ) {
return array( 300, 150, 100, 30, 10 );
}add_filter( ‘dgx_donate_giving_levels’, ‘my_custom_giving_levels’ );
I found this on http://allendav.com/2014/03/06/how-to-customize-giving-levels-in-seamless-donations/
It does update the giving levels in the plug-in settings but it does not update the amounts on the actual page that has been created with the shortcode…
Any thoughts?