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.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Josh 2 weeks, 1 day ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!