- This topic has 3 replies, 3 voices, and was last updated 6 years, 11 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Feature suggestion: Login Form in the replaced content
This is not very important, because I solved the issue in a different way. But I was surprised that SWPM did not offer this out-of-the-box or via an addon.
Currently, protected content is hidden and this message with links is shown to non-members:
You need to login to view this content. Please Login. Not a Member? Join Us
It would be great, if the login form added via [swpm_login_form] could be chosen instead. Ideally, this would work together with the Simple Membership After Login Redirection addon.
Our use case: My client wants to start offering certain “premium” articles only to paying members. The share of these protected articles will remain relatively small. Therefore it does not make sense for us to add the login form to the sidebar in every post – most of the content will be freely available anyway. By offering the above explained solution, the login form would appear exactly where it is most urgently needed: Where content is protected. And by combining this form with the redirect, the user could login on the protected page and seemingly stay on the page while getting access to the protected content.
Again, just a suggestion…
Hi, please check the following documentation. Let me know if this is what you are looking for.
Kind regards
Thanks for the link. Can I insert short-code into the custom messages,too? Then I could enter [swpm_login_form] and get the login form?
If not, I could still use HTML to re-create a login box as you offer for e.g. the sidebar.
In any case, it would not re-direct to the post the user was trying to read. The login form does not adapt the URL with the redirect-Parameter.
Thank you. Good suggestion. I have added it to our to do list.