Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to replace login logo with custom logo in wordpress

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 241
    Comment on it

    When we go to the WordPress login page , we see the default WordPress logo there written "WordPress". We can customize it and can put any of the logo in place of that wordpress default logo.

    It's easy: just open your functions.php file and paste the following code given below:

    function my_custom_login_logo() {
        echo '<style type="text/css">
           h1 a { background-image:url('.get_bloginfo('template_directory').'/images/custom-login-logo.gif) // path of the logo in the directory
    !important; }
        </style>';
    }
    add_action('login_head', 'my_custom_login_logo');
    

    By putting this code , the logo will be visible in the login page is the one we given path in the code.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: