When you open WordPress login page, the default logo links to WordPress.org. This is a quick tip for using your own link. Open the functions.php file. Then, add the following lines of code. And be sure to remember the PHP tag enclosure.
1 2 3 4 | function wp_url_loginlogo(){ return "http://yourdomain.com/" ; // your URL here } add_filter( 'login_headerurl' , 'wpc_url_loginlogo' ); |
Leave a Reply