Event with multiple dates, display events chronologically
Here you go, explanations as comments // setup array to store things in while we loop $events_out = array(); // assume you already have your loop built the way you want while($loop->have_posts()) : $loop->the_post(); $instances = array(); // grab meta dates $instances[] = get_post_meta($post->ID, ‘dateA’, true); $instances[] = get_post_meta($post->ID, ‘dateB’, true); $instances[] = get_post_meta($post->ID, ‘dateC’, … Read more