Support

Home Forums Event Espresso Premium Hide all events from public view

Hide all events from public view

Posted: February 6, 2018 at 8:21 am


SupercarDriver

February 6, 2018 at 8:21 am

Hi, we run ‘members only’ events and do not want to display events/dates/details publically.

Is there a way to hide all the events and only show if the user is logged in? We use s2member (pro) but that doesn’t hide the events.

Thanks in advance.


Josh

  • Support Staff

February 6, 2018 at 3:06 pm

Hi SupercarDriver,

One way is to use the Restrict Content Pro plugin and paired with this code shim, will allow you to restrict all events and only show if the user is logged in.

More details here:
http://docs.restrictcontentpro.com/article/1906-restricting-an-entire-post-type

You can add the code shim to a functions plugin or into your WordPress theme’s functions.php file.

The support post ‘Hide all events from public view’ 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