X

Change Login Logo URL

We can Change the Login Logo from the default WordPress logo to something else, but what if you also want to change the Link that the logo points to, to go from www.wordpress.com to someplace else?

There is a different hook for that. Add this to functions.php.

Code Snippet:

<?php
add_filter( 'login_headerurl', 'my_custom_login_url' );
function my_custom_login_url($url) {
	return 'http://www.example.com';
}
?>

Comments  Leave a Reply

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!