Editing the single event page template (EE4)

Hi, I’m using EE4 and would like some help editing the single event page template. I’ve got the plugin (and a few addons) installed and running successfully. I’ve added a test event and this displays ok using the standard template. I’ve created a new template file called single-espresso_events.php and this displays eveything I’d expect it to. However, I’d like to separate some of the content out into different columns on the page.

Creating and handling the columns is not a problem (as I’m using the Foundation framework), but separating the content is where I’m stuck.

Right now, I’m using php the_content(); to display all the event details, but this just spits them out in one block. I’d like to have one column that just shows the event description and location, and the ticket selector and event date and register button to display in a separate section.

I’ve checked this page for template tags that I can use, but don’t see one for the description for example.

When you use a single-espresso_events.php template file EE should stop injecting all of the details into the_content() unless you’ve added a filterto tell it to continue to do so, which means you can call the post content using the_content().

Or you can use the espresso_event_content_or_excerpt() template tag.

If you take a look at the plugins files, event-espresso-core-reg\public\Espresso_Arabica_2014 you’ll find a tewntyfourteen child theme that shows you how you can pull each of the event details into their own templates using various EE template tags.