'events',
'post_status' => 'publish',
'posts_per_page' => -1,
'paged' => $paged,
'meta_key' => 'accesspresslite_event_day',
'orderby' => 'meta_value_num',
'type' => 'date'
);
$wp_query = new WP_Query($args);
while ( $wp_query->have_posts() ) : $wp_query->the_post();
$accesspresslite_event_month = get_post_meta( $post -> ID, 'accesspresslite_event_month', true );
$accesspresslite_event_day = get_post_meta( $post -> ID, 'accesspresslite_event_day', true );
$thumbnail_id = get_post_thumbnail_id($post->ID);
$image = wp_get_attachment_image_src($thumbnail_id,'thumbnail','true');
$image_grid = wp_get_attachment_image_src($thumbnail_id,'portfolio','true'); ?>