Remove "Register" on the login page

This topic contains 3 reply and 2 voices, and was last updated by Nayem 8 years, 11 months ago
Viewing 3 Posts - 1 through 3 (of 3 total)
Author Posts
May 17, 2015 at 8:58 pm 44278
Nayem Hi As i dont allow user to register directly on my site, i would like to remove the "register" link on the login form How can i dot that ? Tx Alex
May 18, 2015 at 7:04 pm 44403
Nayem Nayem

Hello Alexander,

It is coming from theme. You may require little bit of customization fort that.

Thanks.

May 18, 2015 at 8:35 pm 44409
Alexandre Alexandre

It is actually coming from WPUF as i tested to connect on wp-login.php and it doesnt show the “register” link, only the “lost password ?” link

so it looks like WPUF doesnt check if register is allowed by the admin or not

I will have to edit a wpuf template file

Edit : found it :

For those who are have the same issue :

File class/login.php

Delete line 207 :

$links[] = sprintf( ‘%s‘, $this->get_action_url( ‘register’ ), __( ‘Register’, ‘wpuf’ ) );

this will remove the link 😉

May 19, 2015 at 9:55 am 44429
Nayem Nayem

Hello,

I am really sorry for misunderstanding. You are right and i appreciate your great effort. I hope this will help other user who will need this.

Thanks.

Viewing 3 Posts - 1 through 3 (of 3 total)