- This topic has 1 reply, 2 voices, and was last updated 7 years, 8 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.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember – Can partially protected pages have inline login?
Hi, If I use full protection for a page, I get inline login working if people click the text “Login”. But if I use partially protected pages with the short code and custom message as follows:
[emember_protected for=”11-14-15″ custom_msg=’This content is for members of certain membership levels. If you are already a member, please < a href=”https://blogbillionaire.com/blogbillionaire-academy-members-login-page/”>Login. Not yet a member? < a href=”https://blogbillionaire.com/blogbillionaire-academy-access-exclusive-content-as-a-member/”>Join us!’]
[/emember_protected]
In this case clicking on the word Login leads to the Login page instead of behaving as an inline login. IS there a way to make the login link inside a custom message behave like the inline login that works on a fully protected page?
In your custom message you can append a query parameter to make the login URL behave in a way that triggers the inline login.
So it depends on how you create your login URL in the custom message.
Lets say for example the following is the page URL where you have section protection:
https://example.com/access-exclusive-content-as-a-member/
You can trigger the inline login widget for that page you use the following URL to make your login link:
https://example.com/access-exclusive-content-as-a-member/?event=login
When someone clicks the above link, they will get the inline login for that page.