Archives

Production Archives

UPCOMING PRODUCTIONS CLASSIC SITE

999, /*'tribe_events_cat' => 'productions,shows',*/ /* this should work but doesn't - DW */ 'start_date' => $startdate, 'end_date' => $enddate, 'order' => 'past' ) ); // Check if any event posts are found. if ($posts) { //var_dump($posts); $i=0; foreach ( $posts as $post ) { $oktoshow = false; $tribe_ecp = TribeEvents::instance(); // get the CATEGORY name (dance series, uncaged, exclusive, fundraising, street fair) //$series = get_the_term_list( get_the_ID(), $tribe_ecp->get_event_taxonomy(),'',' | ','' ); if ((has_term('productions','tribe_events_cat')) || (has_term('touring-productions','tribe_events_cat')) || (has_term('fundraising','tribe_events_cat')) || (has_term('shows','tribe_events_cat'))) { // show the productions and shows - DW $oktoshow = true; } if ($oktoshow) { // assign the right class - DW $i++; $thisclass=""; if ($i==1) { $thisclass="first-child"; } else if ($i==3) { $thisclass="last-child"; } setup_postdata( $post ); $days=''; if (($days=='') && ($languagesuffix!='')) {$days=get_field('days'.$languagesuffix);} // get ACF translated field if ($days=='') {$days=get_field('days');} // get ACF field ?>