Posted: January 12, 2017 at 11:27 am
|
I’m setting up a custom template using content-espresso_events.php from Espresso_Arabica_2014. I want to have my content in 2 columns. In column 2, espresso_events-details is showing more than just the event description. I also get espresso_events-datetimes, espresso_events-venues and espresso_events-tickets showing up in that column. How do I get rid of the additional information in column 2. I only want the event description. I also tried using just the_content();, but I get the same thing, all event info instead of just description. I have Use Custom Display Order set to No under Events > Templates |
You shouldn’t use the espresso_events-details template part in your case. |
|
|
What should I use then to display the information that I want to display. How do I show just the event description? |
You can show just the event description by using a template tag like:
|
|
|
That didn’t work. It’s still showing more than just the event description. I’m still getting the tickets, event times and venue information. This is the code that I’m using:
|
Do you have either of these 2 filters active:
|
|
|
The only information that should be showing in the div.espresso-event-header-dv should be: in div.espresso-event-wrapper-dv it should show: I have an hr in there and the line for the espresso_events-detailed in there commented out just for testing purposes. |
Yes, but do you have either/or both of those two filters I posted active on the site, for example are they within functions.php of your theme? If so you’ll need to remove the, they tell EE to continue to inject the event details into the_content even when loading custom templates. |
|
|
That fixed it! Sorry Tony, I didn’t see your response between my 2 posts this morning. I had this in my functions.php file:
Thank you! This has been driving me crazy. |
The support post ‘Event details showing more than just details’ 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.