Topic:
How can we change the Login page Logo in WordPress?
Solution:
Using below action we change the Login page Logo.
1 2 3 4 5 6 | function custom_loginlogo() { echo '<style type= "text/css" > h1 a {background-image: url( '.get_bloginfo(' template_directory ').' /assets/images/logo.png) !important; } </style>'; } add_action( 'login_head' , 'custom_loginlogo' ); |
No comments:
Post a Comment