echo single date of recurring event
-
I’m using wp_query to pull events like the below. I use relative dates for different days of the week in the args.
$loop = new WP_Query(array( 'post_status' => 'published', 'post_type' => 'event', 'ondate' => 'today +1 day', 'showpastevents' => true, 'suppress_filters' => false, ));
I’ve played around with my own custom templates and I use eo_get_the_start to get the start date for single events. Everything works great.
Now I have been noodling this. I know you can call an array of all the recurring event datetimes (and make a list of all dates), and you can get the first and last event. However, I want to target the date of the recurring event as it appears on my event list much like I use eo_get_the_start for non recurring events.
Is this possible, do you know what I am saying here : ) .
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘echo single date of recurring event’ is closed to new replies.