Ever wondered how to customize wordpress login page? Here is how to get It done within a minute!
All these snippets can be added in your theme’s our child theme’s functions.php file.
Let’s start by changing the login page logo and background:
add_action('login_head', 'get_custom_login_page'); function get_custom_login_page() {}
By default, the wordpress logo on the login page is linked to wordpress.org. To make it point to your home page:
add_filter('login_headerurl','loginpage_custom_link'); function loginpage_custom_link() { return home_url(); }
And that’s it! If you have any question, remark or just want to say hi, we would love to hear from you!