Hi
I am using this query to display the last 7 donation transactions.I need to modify the query so that it displays the transactions for the current form page.
$args3 = array( 'post_type'=> 'give_payment',
'posts_per_page' => 7,
);
$loop3 = new WP_Query( $args3 );
if ( $loop3->have_posts() ) :
while ( $loop3->have_posts() ) : $loop3->the_post();
$meta = get_post_meta( get_the_ID() );
$paymentmeta = $meta['_give_payment_meta'];
$getmeta = maybe_unserialize( $paymentmeta[0] );
$firstname = $getmeta['user_info']['first_name'];
$lastname = $getmeta['user_info']['last_name'];
$getdate = $meta['_give_completed_date'][0];
$date = date( "F j, Y", strtotime( $getdate ) );
$total = $meta['_give_payment_total'][0];
?>
- +91-9829644411 Vashikaran Baba Contact Number IN Canada
- +91-9829644411 Love Marriage Vashikaran Specialist Baba Ji
- +91-9829644411 Vashikaran Removal Solution
- World Famous Tantrik Baba §+91-9829644411§
- Love Problem Specialist Astrologer +91-9829644411 IN LOndon
- +91-9829644411 BLACK MAGIC SPECIALIST BABA IN CHENNAI AHMEDABAD
- +91-9829644411 Love Vashikaran Specialist Molvi Ji
- +91-9829644411 Love Problem Solution Molvi Ji
- +91-9829644411 Black magic Specialist Molvi Ji
- +91-9829644411 Online Vashikaran Puja In Canada Toronto