Yes, we do this. You can do it with inserting custom CSS via Theme in the customize menu on the front end:
/*start hides Event Attendees containers*/
.event-attendees-container, .event-item_attendees {
display:none;
}
/*end hides Event Attendees containers*/
You don’t need the top and bottom lines, but you’ll appreciate them later. It’s a best practice @matt enbar taught me in his days on the support team: it’s in-code documentation so that you know what that code snippet is there for.
@DannyPancratz Yes! Love to see clean and organized code!
Reading your question more closely… my suggestion above is for hiding it from all users.
We also do a number of things to hide/show some widgets only for certain user roles, including:
- Only show a widget to superuser role
- Hide widget for unregistered (logged-out) users
The support team was very helpful in doing this via third party scripts, so it might be possible to do what you’re talking about. Our use cases are for HTML widgets, so I can speak to core elements hard coded into the platform like the attendee info.
The easiest solution would be to hide it for everyone, especially since the numbers are inaccurate given those who register through other methods. You can always use ?disableCustomCss behind your URL to see the default view if you need to. Or check numbers in Control.
That will do the trick @DannyPancratz, thank you for sharng your solution!