The Community Solutions blog

All the latest news, insights and announcements from Community Solutions.

Find out more about what we do and who we support.
What we do
Help us to support your community. Find out how you can get involved.
Get Involved

Proud to partner with...

NHS-logo-wht
Maundy-Relief-logo
citizens-advice
Harv-wht
Ad-Hynd-logo
womens-logo
Sell-Net-logo
Thrive-logo
GWF-logo-blue
// 'display_private' => false, // boolean // 'status' => 'live', // string (only available for display_private true) // 'nopaging' => false, // boolean // 'limit' => null, // integer // 'organizer_id' => null, // integer // 'p' => null, // integer // 'post__not_in' => null, // array of integers // 'venue_id' => null, // integer // 'category_id' => null, // integer // 'subcategory_id' => null, // integer // 'format_id' => null, // integer ) ) ); while($events->have_posts()): $events->the_post(); $search = array(' am',' pm'); $replace = array('AM','PM'); $data[] = array( 'title' => get_the_title(), 'day' => date("d", strtotime(eventbrite_event_start()->local)), 'date' => get_the_time('l d').''.get_the_time('S ').''.get_the_time('F,').' '.str_replace($search, $replace, date("h:i a", strtotime(eventbrite_event_start()->local))).' - '.str_replace($search, $replace, date("h:i a", strtotime(eventbrite_event_end()->local))), 'start' => get_the_time('Y-m-d'), 'url' => get_the_permalink() ); endwhile; wp_reset_postdata(); ?>