On my author’s pages I try to find out if the user is an event organizer, too. If I find someone with the same name in my organizers, I try to display a list of events of this user. Though I can display all events using em_display_events, it’s not possible to use this function with arguments.
Do you have any idea what I’m doing wrong?
I tried to filter by id or slug, but nothing worked.
Sorry, but there was a change in em_display_events() function – we just didn’t make it in the documentation (it will be updated soon). Now you only add organizrers, locations or categories id’s (single ID or array of ID’s just as in tax query of WP_Query)
So you need to modify your function to:
$organizer->term_id, // or array($organizer->term_id, $organizer->term_id), etc.
echo em_display_events($args); ?>
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
How to Get Support
After you register and login to the site, you may post all plugin support questions in the Support Forum.
If you need to provide private info, please create a ticket and then reply to it using Set as private reply option.