Support

Home Forums Event Espresso Premium Template Stoneages

Template Stoneages

Posted: January 8, 2015 at 3:05 pm

Viewing 1 reply thread


Tommy Thomas

January 8, 2015 at 3:05 pm

Is there really no way in EE4 to EASILY assign a page to be the page that is used when opening up an event? You can assign ‘registration’ pages, ‘transaction’, ‘thank you’ and even a ‘cancellation’ page but the two most important pages you need are the event details page and the event list page, both of which you can not assign a page to within the admin area, that just does not make any sense. So right now, everything works almost out of the box, but it seems that I have to jump through hoops just to get the word “Archive” off of my Event List page and to get a sidebar on my event details page… please correct me if i’m wrong…

Seems like there should be a shortcode like [ESPRESSO_EVENT_DETAILS] that you could assign a page/post to with that short code that would then display the event’s details when you clicked on the event links, even from the widgets that display the event links. Or how about add the dropdown that is found in the page/post attributes section to assign the template style?

When you use the [ESPRESSO_EVENTS] shortcode on a page, you think it would look as nice as the one that is locked “../events”. That one looks great with the photo positioned nicely and the nice looking dates … then look at the shortcode version, awful.

Also, in EE3, I remember being able to assign a URL in the event details that could direct the event listing to a hand-crafted post or page which was really nice. This does not seem to work the same and is almost useless now.

Sorry for the venting, thoughts? 🙂


Lorenzo Orlando Caum

  • Support Staff

January 8, 2015 at 4:45 pm

Hi Tommy, the default events slug is virtual and does not run through a shortcode on a WordPress page.

However, you can still make those edits by using some of the template files.

The archive-espresso_events.php template handles the event list page (example.com/events/).

The single-espresso_events.php templates handles the single event pages (example.com/events/my-new-event).

Follow this tutorial to get them setup:

https://gist.github.com/lorenzocaum/16aac08f099d7c154f04

On the step where you should duplicate a page.php, be sure to select one that has a sidebar. Then swap in the line to retrieve the event information.

On the word “Archives,” if you just need to remove it, then you can inspect the ID and then associate it with a line of CSS like this:

.espresso_events #idforthearchivetitle {display:none:}

That will hide it from the page.

More information on hiding various content on Event Espresso pages is available here:

https://eventespresso.com/wiki/hide-certain-elements-event-espresso-pages-using-css/

We also have additional resources for working with the templates here:

https://eventespresso.com/wiki/ee4-themes-templates/

https://eventespresso.com/2014/02/developers-corner-theming-event-espresso-4/


Lorenzo

Viewing 1 reply thread

The support post ‘Template Stoneages’ 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