Hello
We are trying to fetch Event names ordered by Event Start Date and then by Event name in a Event Category page
We are using this code to fetch event details
$term = get_term_by( ‘slug’, get_query_var(‘term’), get_query_var(‘taxonomy’) );
The reason I recommend doing so is most of EE4’s event data is not stored under post meta but in custom tables and the model, system handles all of the joins for you.
Before going forward with this, you mention ‘in a Event Category page’, if you are already within an taxonomy listing are you not altering the main query for this? It looks like you are pulling an additional set of events, is that expected?
Viewing 1 reply thread
The support post ‘Events listing by date and event name’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.