wmnf
|
December 11, 2024 at 4:31 pm
We currently use the following to list events from one category. Is there a way to pull multiple categories, but not all?
$regular = espresso_get_events( array(
'show_expired' => false,
'order_by' => 'start_date',
'sort' => 'ASC',
'post__not_in' => $queried_events_ids,
'limit' => 8 - count( $events ),
'category_slug' => 'wmnf-events'
) );
array_push( $events, ...$regular );
|
wmnf
|
December 11, 2024 at 4:45 pm
Nevermind, I separated by commas and it works perfectly.
|