WordPress.org

Ready to get started?Download WordPress

Forums

Seamless Donations
Reverse Order for Donation Options (6 posts)

  1. Steven Remington
    Member
    Posted 1 year ago #

    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/

  2. UltraMarathonEER
    Member
    Posted 1 year ago #

    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.

  3. Steven Remington
    Member
    Posted 1 year ago #

    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.

  4. UltraMarathonEER
    Member
    Posted 1 year ago #

    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);

  5. Steven Remington
    Member
    Posted 1 year ago #

    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??

  6. UltraMarathonEER
    Member
    Posted 11 months ago #

    Sorry for the delay

    That page redirects me to the login page.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.