- This topic has 4 replies, 2 voices, and was last updated 10 years, 10 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 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 customization – Show username in the link to Edit Profile page
Hello, how can i create link to edit profile page with username?
example:
$edit_profile_page = $emember_config->getValue('eMember_profile_edit_page');
$output .= '<a href="'.$edit_profile_page.'">'???'</a>';
Thank you
The question is not understandable…
Are you trying to edit the profile of a specific user?
That can be done from the eMember –> Member settings.
Are you trying to allow users to edit their own profiles?
They can directly go to the URL specified in the “Member Profile Edit Page” setting. Have you read the help text of that field and done what it says?
I require link, where shows Username, and the link destination ist Edit Profile Page.
sorry for bad english..
For the username, look in the following documentation (it has an example that shows you how to get the username):
http://www.tipsandtricks-hq.com/wordpress-membership/wp-emember-miscellaneous-tweaks-248
As far as the profile edit page URL goes, just create a WP page with the [wp_eMember_edit_profile] shortcode on it and use the URL of that page.
Nice, i find it, thank you