Support

Home Forums Event Espresso Premium Show Total Number of Attendees in a Event Table

Show Total Number of Attendees in a Event Table

Posted: January 25, 2019 at 1:37 pm

Viewing 1 reply thread


BeardedEagle

January 25, 2019 at 1:37 pm

I want to show the total number of attendees in the event table. I may need to make it permission based as well.


Tony

  • Support Staff

January 28, 2019 at 4:40 am

Hi there,

That’s not something we have available within the template currently but you can load your own custom version of the template with the above if you are comfortable with PHP?

The table view template can be loaded from the root directory of your site’s theme, that will override the default output with any modifications you make.

So copy the original template from: \eea-events-table-template\templates\

The default template is espresso-events-table-template.template.php

Place the copy within your themes root directory (preferably using a child theme) and eid the template there.

I want to show the total number of attendees in the event table.

Is that the number of available attendee per event, or the number of attendees that have registered onto the event?

I may need to make it permission based as well.

You can use the WP core function current_user_can() to check for specific capabilities on the users account to do that.

Viewing 1 reply thread

The support post ‘Show Total Number of Attendees in a Event Table’ 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