Home Forums Plugin Support WP User Frontend Pro Remove "Register" on the login page

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  Nayem 3 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44278

    Alexandre
    Member
    Post count: 73

    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

    #44403

    Nayem
    Moderator
    Post count: 6480

    Hello Alexander,

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

    Thanks.

    #44409

    Alexandre
    Member
    Post count: 73

    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 ๐Ÿ˜‰

    #44429

    Nayem
    Moderator
    Post count: 6480

    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 4 posts - 1 through 4 (of 4 total)

The topic ‘Remove "Register" on the login page’ is closed to new replies.