Support

Home Forums Event Espresso Premium EE4 Event Listing

EE4 Event Listing

Posted: July 20, 2014 at 6:44 am

Viewing 4 reply threads


Ty

July 20, 2014 at 6:44 am

When I use the EE4 event listing shortcode [espresso_events] the listing includes some of the text from the body of the event description followed by […].

The General Setting -> Templates has a pull down menu for Display Description, however, it does not seem to change how the events are displayed. The <!–more–> tag does not seem to have any effect either.

Any thoughts would be welcome on how I list events using the [espresso_events] shortcode showing the title for event but not the description of the event.

Otherwise EE4 seems to be working fine.

Thanks.

Ty H.


Tony

  • Support Staff

July 21, 2014 at 6:07 am

Hi Ty H,

Have you used any of the template files to create a child theme?
Or placed of EE template files within your Theme?

The options under General Settings -> Templates. Should apply to both the /events/ list any pages using ESPRESSO_EVENTS to display the events.


Ty

July 21, 2014 at 9:33 pm

This is a bit of kluge but I was able to use CSS to hide the event content when listing espresso events. There needs to be separate entry for each page that uses [ESPRESSO_EVENTS]. Without the page class, all event content (even in single event pages) is hidden.

The following goes in the child theme style.css:

/* Hide Event Content when Specialized Retreats are listed */
.page-id-804 .event-content {display: none;}

/* Hide Event Content when Theme Retreats are listed */
.page-id-807 .event-content {display: none;}

/* Hide Event Content when Daytime Events are listed */
.page-id-812 .event-content {display: none;}

/* Hide Event Content when Evening Events are listed */
.page-id-814 .event-content {display: none;}

/* Hide Event Content when All Events are listed */
.page-id-917 .event-content {display: none;}

This may save someone else some time if they encounter the same issue.

Ty H.


Josh

  • Support Staff

July 22, 2014 at 2:54 pm

Hi Ty,

Thanks for the follow up. Did you try the settings that Tony mentioned?


Ty

July 24, 2014 at 2:43 pm

Josh:

I was able to get the event listings working. The limit=”n” fixed the number of events listed after I upgraded.

{display: none} described above fixed the unwanted event content in the event listing. It was easier to add the CSS to the child theme than track down where the problem was occurring.

Event Espresso seems to be working well now. Thanks for following up.

Ty H.

Viewing 4 reply threads

The support post ‘EE4 Event Listing’ 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.

Event Espresso