- This topic has 6 replies, 3 voices, and was last updated 11 years, 8 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 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 Bookmarks login message add a login link
[wp_eMember_user_bookmarks] issues this message “You need to login to see your bookmark list. “. How can I place a link to the login form on the word “login”?
hi,
you can do that by editing eMember_bookmark_utils.php file.
look for “return EMEMBER_BOOKMARK_NOT_LOGGED_IN” in that file.
edit this line.
Hi,
I found the line but not sure what to do…
replace that line with the following code:
return EMEMBER_BOOKMARK_NOT_LOGGED_IN. ' '.eMember_get_login_link_only_based_on_settings_condition();
I replaced the code and it displays the link, but it doesn’t work.
Code:
return EMEMBER_BOOKMARK_NOT_LOGGED_IN. ‘ ‘.eMember_get_login_link_only_based_on_settings_condition();
Here’s my page…
[http://janecz.com/bookmarks]
Ideally the link would lead to the member-login page.
Thanks
You don’t need to do any tweaks/code change. Please do the following:
1) Revert the code changes you made for this.
2) Edit the bookmark page in WordPress page editor
3) Protect this page (grant all membership levels access to this page)
Now, your visitors who are not logged in will see the standard protected message with a login link (same as you see on your protected posts and pages).
Worked perfectly – thanks!!!