• Resolved raydh199

    (@raydh199)


    Hi,

    Im trying to re-order the donation list based on amount from highest to lowest donation.
    Can anyone help me with this ?
    Thanks

    $atts = shortcode_atts( array(
            'number'  => 30,
            'form_id' => 130443,
            'heading' => '',
        ), $atts, 'my_donor_list' );
        $args = array(
            'output' => 'payments',
            'number' => $atts['number'],
            'status' => 'publish',
            'give_forms' => $atts['form_id'],
        );
        $payments = new Give_Payments_Query( $args );
        $payments = $payments->get_payments();
    
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter raydh199

    (@raydh199)

    bump

    Thread Starter raydh199

    (@raydh199)

    solved. thnx anyway

    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    Apologies we weren’t able to provide insight on this one in time. If you can provide the full code in a GIST that would help a lot. But if all is solved now, then great to hear. Thanks!

    Hi I donno how to post a new question. I want to show the total number of donations along with the fundraiser progress with the amount raised like in the kickstarter pager to show the number of backers. how can i get the total number of donations or hte donors for the form?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Query Donation List Based On Amount’ is closed to new replies.