- This topic has 5 replies, 5 voices, and was last updated 12 years, 4 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 › I don't want visitors to sign up (Customize the default login and join message)
I am running a website where I have some pages restricted so only my staff can view them. I would like to protect these pages without having the “Please Login to view this Content.(Not a member? Join Today!)” message and maybe having it just display “Protected from non-staff”.
How could I go about doing that?
Thanks!
Open the “wp_eMember1.php” file and search for the following line of code:
function get_login_link(){
Once you find it change it to the following:
function get_login_link(){
return "Protected from non-staff";
That should do the job.
Works perfectly! Thank you so much.
Hi there, I need to do exactly the same thing (just to replace the default text with my own) but it looks as though the wp_eMember1.php file has changed as I can’t find that function. I’d be most grateful if you could point me in the right direction!
Thanks.
You can customize any user visible text using this technique:
FYI: That function has now been moved to eMember_auth_utils.php file.