Support

Home Forums Event Espresso Premium Use Customized Template to Display Event List on Static Front Page

Use Customized Template to Display Event List on Static Front Page

Posted: May 13, 2017 at 11:07 am


marco-ka

May 13, 2017 at 11:07 am

Hello! 🙂

I would like to display a list of upcoming events on my front page that uses my custom markup.

I already customized the ‘archive_espresso_events.php’ and this works perfectly for [mysite].org/events. Is there a way to display events on the front page using this template?

I know that I can use [ESPRESSO_EVENTS] to display events on my front page. But it seems like this uses the markup defined in ‘EEW_Upcoming_Events.widget.php’.

Thanks for your help!! 🙂


Tony

  • Support Staff

May 15, 2017 at 5:23 am

Hi there,

EEW_Upcoming_Events.widget.php should only be used by the Event Espresso Upcoming Events Widget, not the [ESPRESSO_EVENTS] shortcode.

archive_espresso_events.php is a full template used for the archive output, did you break out your markup into smaller template files that can be called from other templates or is the above file outputting all of the event details?


marco-ka

May 17, 2017 at 5:35 am

Hi Tony!

You are of course right!

My mistake was that I didn’t really use the [ESPRESSO_EVENTS] shortcode as I thought I had done. Instead, I had placed an upcoming events widget on the front page. I don’t really know why I was so convinced that I had used the shortcode.

When using [ESPRESSO_EVENTS] everything works perfectly!

Thanks for your quick response and have a great day! 🙂


Tony

  • Support Staff

May 17, 2017 at 7:30 am

You’re most welcome and the same to you 🙂

The support post ‘Use Customized Template to Display Event List on Static Front Page’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 2 years, 6 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!
[for="input_96_5_3"]
[for="input_96_5_3"]
[gravityform id=96 title=false description=false]
  • This field is for validation purposes and should be left unchanged.
[i]
[i]
[gravityform id=69 title=false description=false]
  • This field is for validation purposes and should be left unchanged.