- This topic has 1 reply, 2 voices, and was last updated 5 years, 2 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Bypass the "This Content is Restricted" page
Hi there,
First of all, great plugin – we have been using it for over a year now on a client site and it’s exactly what we need 🙂
We were wondering if it’s possible to change the behaviour for logged out users who try to access restricted content (full page restriction). Currently it shows a “This content is restricted” page, with a link to the login form. If they click the link and log in, they are redirected to the correct page.
We would like to skip the “This content is restricted” page and go straight to the login form. I have experimented with using the “Custom Messages Addon” to add some JavaScript to automatically redirect the page to the login form, but it means we lose the “?swpm_redirect_to” URL parameter, and so the page doesn’t redirect correctly after log in. Is there a better way to handle this?
Hi, that would require some customization of the code. If that is your requirement, please create a paid support ticket.
Thank you