Support

Home Forums Event Espresso Premium Table template plugin format for "/events" page

Table template plugin format for "/events" page

Posted: November 19, 2019 at 10:43 pm

Viewing 3 reply threads


Ccrisler

November 19, 2019 at 10:43 pm

I’ve got a long list of events. I want use the Event Table Template plugin to keep the list short and clean. I understand how to add the shortcode to a regular page but I want it to be applied to the /events page that is generated by EE. When a customer hits the “back to events” button in the cart I want this list version to appear. How do I do this?


Tony

  • Support Staff

November 20, 2019 at 3:37 am

Hi there,

To change the /events output you will need to create your own custom archive template for EE events (/events is an archive of event espresso event posts, it uses your theme to output the event so however, you theme outputs archives is how the events will appear).

Are you familiar with creating your own theme template files?

If not another option you have is to create a page using the [ESPRESSO_EVENTS_TABLE_TEMPLATE] shortcode and then change the URL that the ‘return to events’ link in the cart uses to that page, would that work for you?

Note that using the latter the /events/ page would remain as normal but you would just be directing the users to another page from the cart.


Ccrisler

November 20, 2019 at 12:52 pm

I’m not familiar with creating template files. Changing the destination of the ‘return to events’ link sounds like a better option for me. Where do I find that bit of code?


Tony

  • Support Staff

November 20, 2019 at 2:36 pm

You use something like this:

https://gist.github.com/joshfeck/e51ac13a3d9fd345ad40

Set the url to be the page you want to use in that function and add it to a custom functions plugin your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Viewing 3 reply threads

The support post ‘Table template plugin format for "/events" 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.

Event Espresso