CPT EVENT – listing by month and filtering by category and month – form select option

Problem solved! Before – Select Month <option value=”01″></option> <option value=”02″></option> etc. Change – Select Month <option value=”20210101″></option> <option value=”20210201″></option> etc. //ARGS $selected_cat = $_GET[‘cat’]; //category value $start_date = $_GET[‘month’]; //month value $end_date = $start_date + 30; ‘meta_query’ => [ [ ‘key’ => ‘event_date’, //acf date picker field Ymd ‘value’ => array($start_date, $end_date), ‘compare’ => ‘BETWEEN’, … Read more

What plugin should I use for booking events and receiving payments? [closed]

I’ve used EventBrite as a service for scheduling and ticketing events in the past. It’s low-cost and integrates with both PayPal and Google Checkout for receiving payments. Using an external provider also takes the stress and accountability off my shoulders when it comes to validating signups and keeping track of an attendee list. There’s also … Read more

Display upcoming Events for next 7 Days

I haven’t had much success in the past using the BETWEEN comparison with meta queries. You might have better luck by replacing your meta query with a >= and <= comparison: ‘meta_query’ => array( array( ‘key’ => ‘opening_time’, ‘value’ => $today, ‘compare’ => ‘>=’, ‘type’ => ‘DATE’ ), array( ‘key’ => ‘opening_time’, ‘value’ => $future, … Read more