Support

Home Forums Pre-Sales Hiding venue info from non-members

Hiding venue info from non-members

Posted: April 8, 2016 at 3:39 am


Liana

April 8, 2016 at 3:39 am

I would like to be able to create events where logged in Members can view the venue information but people who are not logged in can see the venue.

How can this be done?


Lorenzo Orlando Caum

  • Support Staff

April 8, 2016 at 6:52 am

Hi Liana,

This can be done by setting up custom templates (https://eventespresso.com/2014/02/developers-corner-theming-event-espresso-4/) and then wrapping the information for the venue in a check for is_user_logged_in:

https://developer.wordpress.org/reference/functions/is_user_logged_in/

Once that is in place, then the venue information would only appear for a registrant/attendee that is logged into your website.


Lorenzo

The support post ‘Hiding venue info from non-members’ 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