- This topic has 5 replies, 4 voices, and was last updated 7 years, 9 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 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 – Shortcode for "After Login Page" specific to different users?
Tagged: after login, members, redirect, redirect shortcode
Is there a shortcode for the “After Login Page” specific to different users? For example, when a person updates their profile they are shown the following message, “Your profile has been updated! Edit profile again” I would like to add a shortcode to the Edit Profile page (or anywhere else I want to) that a user can click to be redirected to their specific “After Login Page”. As it is now, they have to log out and log back in to get to their specific landing page. Is there a shortcode I missed (I looked for it) that will redirect members to their unique landing page, either specific to the user or the membership level. Or do I have to list them all and set the protection level for each member’s unique page on each page that I want this option to appear?
I’m thinking something like [wp_eMember_user_after_login_url]. I guess the other option would be to ask each member to bookmark their own after login url and use the [wp_eMember_user_bookmarks] shortcode? Hoping there is an easier way.
You can use the shortcode explained in the following documentation to show a member’s level and the welcome page (after login page) of that level.
https://www.tipsandtricks-hq.com/wordpress-membership/how-to-display-a-members-purchase-history-158
Could I create a membership level for each customer so that they are redirected to their own landing page each time they login? Is this the best way to have each member arrive at their own unique page after login?
Thanks!
Depending upon the number of users you have, maintenance of such a setup might become tedious; but yes, it could be done.
You can edit a member’s profile and set a specific “After Login Page” URL for that member only.
If you set a URL in the “After Login Page URL” field when you edit a member’s profile, then the plugin will redirect to that page instead of the one set in the membership level.
More details in the following documentation:
Thank you both!