How to Remove the WordPress link from login

Let me first remember you how we played with the WordPress Login:

I was wondering How to remove the WordPress.org link from the login page. I could not find any solution so I posted in our forums.

Rubén showed me the way to get his working.

1. Functions.php

Open your functions.php located in your theme folder (if it doesn't exist, create it).

2. Add the function

Add this function and change the return URL as you wish 😉

function put_my_url(){
return "http://php.quicoto.com/"; // your URL here
}

add_filter('login_headerurl', 'put_my_url');

About Rick

Senior Front-end Software Engineer from Barcelona, Haidong Gumdo Instructor (korean martial art of the sword), street photographer, travel lover, TV addict, Boston Red Sox fan, and privacy advocate.
3 comments

Leave a Reply

Add <code> Some Code </code> by using this tags.

*
*