We would like to hide the venue address for certain events, as they are held at members homes. We mark the event “private access” but the address is still visible to the public on the events page. Is there a setting to over ride this?
Thanks for reaching out! You can hide the address on certain events with a customization – our themer’s guide has instructions on doing template overrides, and the template you’ll want to copy and edit can be found at wp-content/plugins/the-events-calendar/src/views/modules/address.php. TheĀ is_user_logged_in function and theĀ get_post_status function should be helpful in determining whether or not to display the address.
We are limited in the amount of support that we can provide for customizations, but if you get stuck or have any questions, please let me know! I’ll be happy to point you in the right direction.
Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
The topic ‘Hiding venues with private events’ is closed to new replies.