Posted: April 18, 2019 at 12:10 pm
|
Hi, I searched the forums but couldn’t find an answer to this. I’m attempting to show all events in the grid format, but when a visitor clicks on a members only event, they will get a log-in message. We do have some events open to the public so don’t want that restriction on all events. I checked off Thanks for any help! PS I know we can restrict tickets sales to members only, but we want to restrict the entire page for some events to members only. |
Hi, I downloaded a copy of the Ultimate Member plugin and checked the code where it adds the box to restrict access, and it looks like it’s loading in too early, so the current screen information isn’t set up yet. Here’s a code snippet that loads the box in later when it’s an Event Espresso event editor page:
You can add the above to a functions plugin or, if available, into your WordPress child theme’s functions.php file. |
|
|
Thanks, I’ll give that a try! |
|
Worked like a charm, thank you so much! |
|
Hi, me again. Do you think adding that code to my child theme’s functions.php file could have disabled the search on this page? https://providenceartclub.org/about/artist_portfolios It’s suddenly not working and I don’t know of any other changes I’ve made that could have affected that. Thanks! |
I do not think adding that code would have any effect to the search on the page. If you don’t want to take my word for it, you could try temporarily removing that code to see what happens there. |
|
|
Thanks, that’s a good idea, I’ll try taking it out, but glad if it’s not the problem since it worked well. It might have happened when I updated a plug in. |
The support post ‘Enabling Ulitmate Member content restriction on pages, not grid’ 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.