Changing WordPress Login Page using Codex

It is generally assumed that the logo in the header is a link to the home page of the current site. If you change that, you may frustrate users.

That said, try

function my_login_logo_url() {
return '';

Hi @sterndata,

Thanks for replying. I tried the same but it didn’t work. Instead of that, it added


This works for me:

add_filter( 'login_headerurl', 'my_login_logo_url' );
function my_login_logo_url( $url ) {
return '';

The code you’re using is using the wrong delimiters for a string. Don’t copy/paste, but retype to m ake sure you’re using the apostorphe/prime character.


Thank you very much for your fast reply. It Worked for me 🙂

Thanks & Regards,

Source link