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
- This topic has 5 replies, 4 voices, and was last updated 8 years, 9 months ago by
lvdesigner2.
-
AuthorPosts
-
April 14, 2015 at 7:44 pm #12507
monelico
MemberIs 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.
April 15, 2015 at 12:06 am #69595admin
KeymasterYou 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
February 3, 2017 at 7:05 pm #69596lvdesigner2
MemberCould 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!
February 3, 2017 at 7:40 pm #69597wzp
ModeratorDepending upon the number of users you have, maintenance of such a setup might become tedious; but yes, it could be done.
February 3, 2017 at 11:46 pm #69598admin
KeymasterYou 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:
February 4, 2017 at 1:42 am #69599lvdesigner2
MemberThank you both!
-
AuthorPosts
- You must be logged in to reply to this topic.