Support

Home Forums Event Espresso Premium Customizing Events Table View Template Add-on

Customizing Events Table View Template Add-on

Posted: August 20, 2024 at 1:11 pm

Viewing 4 reply threads


Troy

August 20, 2024 at 1:11 pm

We are migrating our calendar to the Table View Template. I have one issue and that is the ‘register’ link that shows next to every event. Can this text be customized to something else? Say maybe ‘More details’. Better yet, wouldn’t it be better to have the event title be a link?


Tony

  • Support Staff

August 20, 2024 at 5:29 pm

Hi Troy,

The table view template includes a reg_button_text parameter you can use to adjust the text, for example:

[ESPRESSO_EVENTS_TABLE_TEMPLATE reg_button_text='Your custom link text']

Better yet, wouldn’t it be better to have the event title be a link?

It could, and it is possible to load your own custom version of the template file in use from your theme’s root directory (preferably a child theme), I can walk through the steps needed to load that template if that helps here?


Troy

August 21, 2024 at 8:36 am

Tony,
Yes, please share template file and where to load a custom version to our child theme.


Tony

  • Support Staff

August 21, 2024 at 9:37 am

Yes, please share template file

Sorry, to clarify, this is a way for you to load your own custom template. I don’t have a template that will load with the event name as a link so that’s something you’ll need to add in 🙂

where to load a custom version to our child theme

Grab a copy of the default template file from the add-on itself.

/wp-content/plugins/eea-events-table-view-template/templates/espresso-events-table-template.template.php

Place that copy within your child themes root directory.

So /wp-content/themes/{theme_dir_name}/espresso-events-table-template.template.php

If you leave the filename the same it will replace ALL instances of of the table add-on default template.

Or you can name it something custom like:

espresso-events-table-template-custom-event-link.template.php

Then just pass the name of the template to the shortcode you want to use it on:

[ESPRESSO_EVENTS_TABLE_TEMPLATE template_file=espresso-events-table-template-custom-event-link.template.php]

Would load that custom template for you.


Troy

August 22, 2024 at 9:11 am

Will make the change. Thanks.

Viewing 4 reply threads

The support post ‘Customizing Events Table View Template Add-on’ 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