Forums
(@mity90)
9 years, 5 months ago
Resolved! Thanks! Add after, to replace the existing code.
and shortcode [ecs-list-events cat=’category 1′ time=’past’ excerpt=’200′ ]
if ($ecs_cat) { $ecs_event_tax = array( array( 'taxonomy' => 'tribe_events_cat', 'field' => 'slug', 'terms' => $ecs_cat ) ); } if($atts['time'] == 'past') $time = "<"; else $time = ">="; echo $ecs_eventDate;
looks so
Hi, tallavic! Apply this code in plugin and no result… maybe I do something not so?