
How to Change Default Logo URL on WP Login Page
- November 24, 2015
- Leave a comment
When you visit the default login page of your WordPress website (yoursiteurl.com/wp-admin), the logo on top of the login form will take you to wordpress.org by default. Most of the time, every website owner likes to change this URL if they are re-branding their website with logos.
In order to change this URL, add the following code in your Theme’s functions.php file or Child Theme‘s functions.php file:
1 2 3 4 |
add_filter( 'login_headerurl', 'pt_custom_loginlogo_url' ); function pt_custom_loginlogo_url($url) { return 'https://www.presstigers.com'; } |
You can use your own URL in return of ‘pt_custom_loginlogo_url’ function.
User Comments