Single event post
-
Hi Jeroen
Another question from me – can you tell me how to call a single event in a single-wp_theatre_prod.php file? I’ve looked through the files on github but can’t see it there.
What I mean is something similar to this, but for a single event:
$args = array( 'start' =>'now', ); $events = $wp_theatre->events->get($args); foreach ($events as $event) { echo $event->title(); // do other stuff with your event }
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Single event post’ is closed to new replies.