WordPress Membership Plugin
I understand the technical reasons for this:
The login redirect addon LOOKS for the special login link that the core plugin creates. It then replaces that login link with an extra parameter. If you use the custom messages addon to override the standard protection message of the plugin then the login addon can’t add the extra parameter.
But there must also be a solution. Perhaps a macro for the custom messages plugin that allows the link to be extended with the ?swpm_redirect_to=
parameter? Something like <a href=/login-page?swpm_redirect_to=%%MACRO%%>
…?
Importing the admin user into Simple Membership and logging out and in again solved the problem. Many thanks!
Hmm. Furthermore, when I then attempt to login using my admin credentials in order to see the protected content, the login is refused with a message from Simple Membership saying that my admin session would be ended if the login were to be allowed.
I if test this with a WP-user with the role “subscriber”, imported into Simple Membership with the level “member”, they can login successfully.
Is it just a problem with users with the WP role “admin”?