Support

Home Forums Event Espresso Premium Adding a price column in Events Table View Template Add-on for Event Espresso 4

Adding a price column in Events Table View Template Add-on for Event Espresso 4

Posted: October 27, 2016 at 5:04 am

Viewing 5 reply threads


timigoe

October 27, 2016 at 5:04 am

So I have been trying to add the price column in to the table using the code from here – https://gist.github.com/lorenzocaum/ef6afefd07c9c5f6f681

For some reason my date now sits outside of the table, any ideas?

Here is the site – http://www.chesterrunningtours.co.uk/

Any help would be great.


Tony

  • Support Staff

October 27, 2016 at 6:43 am

Hi timigoe,

Are you still having problems as it looks like you have already figured this out, the table shows the date correctly for me – http://take.ms/A11Jo


timigoe

October 27, 2016 at 7:22 am

Hi Tony, Thanks for the quick reply. I managed to adjust it by replacing the venue column with the price information. It just wouldn’t let me add it to the end. I am happy with how it is now though, thanks.

Is there any way to change the column text for the price, so it reads ‘price’ instead of ‘Starting From’?

Thanks


Tony

  • Support Staff

October 27, 2016 at 7:38 am

I managed to adjust it by replacing the venue column with the price information. It just wouldn’t let me add it to the end.

It sounds like you mav have been adding it outside of the table row.

Is there any way to change the column text for the price, so it reads ‘price’ instead of ‘Starting From’?

Sure, find this line within your custom espresso-events-table-template.template.php template file:

<th class="th-group"><?php _e('Starting From','event_espresso'); ?></th>

Change that to:

<th class="th-group"><?php _e('Price','event_espresso'); ?></th>


timigoe

October 27, 2016 at 7:42 am

Fantastic! Thanks a lot!


Tony

  • Support Staff

October 27, 2016 at 7:45 am

You’re most welcome 🙂

Viewing 5 reply threads

The support post ‘Adding a price column in Events Table View Template Add-on for Event Espresso 4’ 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