Build A Worm Bin @Pelion Community Garden
April 13, 2019 9:00 am
Pelion Community Garden at City Honors School, 206 Best St, Buffalo, New York 14204
//I set the timezone to my timezone and then set 2 variables, one is set to todays date and the other is set to a year from now.
//Then I set a variable to determine if the post is in the future:
//arg to determine if the post is an upcoming event.
$upcoming_args = array(
'post_type' => 'workshop',
'posts_per_page' => -1,
'meta_key' => 'ws_date',
'meta_compare' => 'BETWEEN',
'meta_type' => 'numeric',
'meta_value' => array($date_1, $date_2),
'orderby' => 'meta_value_num',
'order' => 'ASC'
//Set up a new upcoming event query:
//Then the loop:
There are currently no upcoming workshops, please check back soon.