If you’d like to remove the number of attendees for your events, you can easily do so by adding a simple CSS snippet to your WordPress site. Follow the instructions below to hide the number of people who are attending the event from being displayed on your event pages. This can help create a more streamlined and focused presentation for your audience.

Usage

Copy the below code into your (child) theme’s style.css file, or add it to Appearance > Customize > Additional CSS box (or wherever you usually put custom styling).

Snippet

.single-tribe_events .tribe-tickets__rsvp-attendance {
display: none !important;
}

Another way to achieve this is a snippet that can be added to your theme’s functions.php file or with a plugin like Code Snippets.

add_filter( 'tribe_template_done', function ($show, $name) { 
return 'v2/rsvp/details/attendance' === $name ? '' : $show; 
}, 10, 2 );

Plugins

  • Event Tickets
  • Event Ticket Plus