Home › Forums › Front-end Issues › Memberpress support › Reply To: Memberpress support
Hi john,very valid question and I’ll contact member press support for clarification.
In the admin We set rules for each membership level – eg hide post, page etc if it logged in.
If someone goes to one of these pages, they are redirected to the sign up/login page.
Member press support also said “you should be able to use a PHP conditional (as long as there’s a Rule protecting that page) like <?php if(current_user_can(‘mepr-auth’)) { ?>”, however this just hides everything and doesn’t redirect to the sign up.
I’ll email them with your question now as they are keen to find a way too.
Thanks
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.