WP 3.1, EE 3.1.33.3.P (recently upgraded from 3.019), Personal License
Our client would like to display one set of Question Groups to users who are logged in (aka ‘members’), and a different set to users who are not logged in (‘non-members’). Is this possible?
What this does is checks to see if the user is logged in or not, if not it will display CSS to hide a specific question group (in this case the question group has an ID of members-only-1372409782).
The downside to this method is that if you add a new question group you will need to tweak this code.
You’re correct in the assumption that this scenario is for events that are open to members and non-members. So the solution of editing the template will have to do.
The support post ‘Display different Question Groups based on logged-in status?’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.