I posted awhile back about the attendee list shortcode breaking with an update. I tested the shortcode and it seems to work well whenever the “Custom Display Order” is turned off or outside of the single event page (I’m assuming this was the upgrade that broke the shortcode).
I did so through a child-theme by modifying the files:
content-espresso_events.php
content-espresso_events-datetime.php
content-espresso_events-ticket.php
content-espresso_event-details.php
I then turned on the custom order to rearrange elements as I could not change the order by making changes to the above files.
Is there a why that I can customize the single event page formatting while not turning on the custom order? I would be doing this so that the attendee list shortcode would work.
I tried renaming the templates, turning on custom order and renaming, but no luck. Is there a way to order the elements directly through the templates (possibly content-espresso_events.php?) without turning on the custom display order?
Yes you can order the templates manually but to do so you need to take over the template output from the beginning so you need to use a single-espresso_events.php template.
This will likely be a copy of single.php or page.php with a couple of modifications.
So lets say your creating a copy of single.php
Copy that template and rename the copy to single-espresso_events.php
Edit that template and find the call for the_content()
The support post ‘Attendee List Shortcode Breaks with "Use Custom DIsplay Order"’ 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.