Sorry if this has been answered elsewhere, but I can’t seem to find a solution to this.
I’m wondering if there’s a way to output a custom formatted list of my events on my site.
I’ve modified my event-list-display.php to work its magic on mydomain.com/event, but let’s say I wanted a simpler list with a different layout on my homepage.
I’ve tried ” echo do_shortcode(‘[EVENT_LIST order_by=date(start_date) limit=12]’);”, which works fine, but pulls the layout from what I’ve specified in event-list-display.php ( which makes sense).
So to clarify:
Is there a way for me to create a new shortcode (and template file) that I can style to my needs?
or
Can i perform a query/loop on my events directly in my index.php/template files?
Yes you can create new shortcodes/templates, preferably using the Custom files add on.
You could hack at the core files, but for future proofing against updates, I would put the code into the custom files add on files. There you can add custom functions, shortcodes and templates.
Viewing 1 reply thread
The support post ‘Event Listings Loop’ 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.