Events plugin for irregular / complex events [closed]
Events plugin for irregular / complex events [closed]
Events plugin for irregular / complex events [closed]
AJAX is the solution. For more info: https://codex.wordpress.org/AJAX_in_Plugins#Separate_JavaScript_File
Update a costume wp_usermeta key back to 0 every 24hours (time can be specified as needed)
List of JS Events for Widgets?
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
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
This is not going to work, because you are setting same meta_key parameter twice with different values and only one will be effective. Rather than building raw queries it is better to use filters to modify WP query. Query Overview documentation has list of hooks where you can insert your mods (as the end under … Read more
It could be the phrasing of the array so try setting the array outside the wp_schedule_event call: $args = array(‘type’=>$instance[‘type’]); wp_schedule_event(time() , ‘twicedaily’, ‘fhprw_action’,$args);
My plugin (amr-events) will work with existing categories (and you can choose standard posts or custom post types) There is also a way to convert any existing posts into ‘event’ posts in case there is alot of content already built into a post for an event. It is a paid plugin (the free version at … Read more
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