Remove links from Change password and Forgot password pages

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #4964

    Kojo Darden
    Free User
    Post count: 21

    (1) On the default “Change Password” page, there is a link to the users “Account” page. Is it possible to remove this link?

    (2) Similarly, on the default “Forgot Password” page, there is a “Register” link. Is it possible to remove this link? The reason I want to remove this link is because, I do not want people tp register for my site for free and the registration button does not work as people get the following error message when registering: “Invalid arguments passed in /home/dobobo65/public_html/wp-content/plugins/email-log/include/Core/EmailLogger.php on line 63”. Ultimately, just want to remove the “Register” link/option.

    #4966

    Alex Rollin
    Moderator
    Post count: 27815

    You can create some custom CSS to hide it.

    There are not options built into the plugin to hide it, though.

    I will flag your question for the developers in case there is a programmatic way to do that.

    #4967

    Patrik
    Moderator
    Post count: 1971

    Hi,

    You can hide the links via CSS or you can override the template in your theme and remove the code which is displaying the register link.

    Here is the CSS you can try:

    .uwp-footer-link {
        display: none !important;
    }

    This will remove all the links in the form footer but if you want to hide on forgot password page only then you can use the class from body tag to make hierarchy stronger which will apply on forgot password page only.

    If this CSS doesn’t work for you then you can create a folder in your currently active theme and copy forgot.php file from wp-content/plugins/userswp/templates/forgot.php there. Edit this file and remove the links from the code.

    If you want us to do this then please provide FTP details in private reply and we will do it for you.

    Regards,
    Patrik

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket