Support » Plugin: Seamless Donations » Reverse Order for Donation Options

  • Hey thanks for the plugin. I added another option of $25 to my functions file. But what I am not quite sure how to do is reverse the order with the smallest donation being checked off first by default. Instead of :

    $100 $50 $25

    Have it look like this

    $25 $50 $100

    But have the $25 checked by default. Any help would be greatly appreciated thanks!!

    http://wordpress.org/plugins/seamless-donations/

Viewing 5 replies - 1 through 5 (of 5 total)
  • UltraMarathonEER

    (@ultramarathoneer)

    In the dgx-donate.php file, manually change the order of the array on line 34 to start at the lower amount. Worked for me.

    Steven Remington

    (@sremington1)

    hmm, I tried that before and just tried it again since you mentioned it. I don’t see any change on the form. Still looks the same to me.

    UltraMarathonEER

    (@ultramarathoneer)

    strange…here’s how my code looks in the file now…viewing it in multiple browsers and it works…formatting is off a little but i am cleaning up css for that.

    function dgx_donate_get_giving_levels()
    {
    // $builtinGivingLevels = array(1000,500,200,100,50,25,10,5);
    $builtinGivingLevels = array(5,10,25,50,100,200,500,1000);

    Steven Remington

    (@sremington1)

    This is what it looks like with what you did on my website. http://voteforvivier.com/donate/

    What does it look like to you? maybe i need to clear my cache??

    UltraMarathonEER

    (@ultramarathoneer)

    Sorry for the delay

    That page redirects me to the login page.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Reverse Order for Donation Options’ is closed to new replies.