Support

Home Forums Event Espresso Premium Display complete venue address using Events Table View Template Add-on

Display complete venue address using Events Table View Template Add-on

Posted: June 24, 2016 at 1:18 pm


Rose_P

June 24, 2016 at 1:18 pm

I’m using the Events Table View Template Add-on and would like to display the complete address in the venue column. Is there a way to do this?


Lorenzo Orlando Caum

  • Support Staff

June 25, 2016 at 11:44 am

Hello,

If you are familiar with PHP, then you could create a custom template to display more information.

Here is an example that you can use as the starting point:

https://gist.github.com/lorenzocaum/afdc8aba310d6388cdd3


Lorenzo


Rose_P

June 25, 2016 at 3:53 pm

That’s perfect, Lorenzo. Was easily able to follow the example and it’s working great!

Do note that when the plugin updates, it deletes all the custom templates in the templates directory. I would prefer for those to remain, if that’s possible for future updates. Thanks!


Tony

  • Support Staff

June 27, 2016 at 4:40 am

Do note that when the plugin updates, it deletes all the custom templates in the templates directory. I would prefer for those to remain, if that’s possible for future updates. Thanks!

The templates directory within /wp-content/plugins/{plugin}/templates/ will always be removed. When a plugin updates in WordPress what actually happens is the original plugin is deleted, the latest version download and unpacked in it’s place, so there is no way to save files within the original plugin.

However if you note within the tutorial Lorenzo linked to is states to place the templates within:

/wp-content/uploads/espresso/templates

That location will not be wiped when the plugin updates and custom templates there will load in place of the original.

The support post ‘Display complete venue address using 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