Support

Home Forums Event Espresso Premium Set dfault Events view to calendar

Set dfault Events view to calendar

Posted: June 19, 2016 at 7:42 am

Viewing 3 reply threads


uscomputer

June 19, 2016 at 7:42 am

Hey Guys,

Is there a possible way to have the /events page load as the calendar instead of the list view?

Currently I have http://www.uscomputer.com/events-calendar/ that works as the calendar page and http://www.uscomputer.com/events set up as a redirect, but I would like to set the calendar as the view for /events

Thank you,
-David M


Tony

  • Support Staff

June 20, 2016 at 5:03 am

Hi David,

Whilst its possible to change the default output for the event archive (/events/) to a calendar you would need to create a custom template for your theme to do so as its not actually a page but an archive of EE event posts.

The easiest method to display the Calendar on /events/ would be to change the EE slug to something other than ‘events’ and then use a standard page with the [ESPRESSO_CALENDAR] shortcode in its place.

So lets say you changed the EE slug to ‘registration’

To do that you go to Event Espresso -> Events -> Templates

Look for ‘Event Slug’ and change that to ‘registration’.

You will likely need to flush your permalinks.

Dashboard -> Settings -> Permalinks.

Make no changes and just save the settings.

/registration/ would now look exactly as your current /events/ output does but now you can create an ‘events’ page and display the calendar there.

Would that work?


uscomputer

June 28, 2016 at 10:22 pm

Hey Tony,

This worked perfectly!

Thank you,
-David M


Tony

  • Support Staff

June 29, 2016 at 5:18 am

You’re most welcome.

Please let us know if you have any further questions.

Viewing 3 reply threads

The support post ‘Set dfault Events view to calendar’ 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