WordPress deafault login page - is there a way to set custom logo image?

Support General WordPress deafault login page - is there a way to set custom logo image?Resolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29113
    PeterPeter
    Participant

    Hello,
    sorry for my amateur question.

    I know there are dozens of plugins with which I can change deafault login page image (WordPress logo) but I avoid installing additional plugins whenever possible...

    Can I do this in some way with the help of Meta Box?

    #29122
    PeterPeter
    Participant

    Simple snippet code got the job done.

    Sorry for my post...

    If someone is to need it to (paste in function.php):

    function my_login_logo_one() { 
    ?> 
    <style type="text/css"> 
    body.login div#login h1 a {
     background-image: url(http://localhost/wordpress/one.jpeg);  //Add your own logo image in this url 
    padding-bottom: 30px; 
    } 
    </style>
     <?php 
    } add_action( 'login_enqueue_scripts', 'my_login_logo_one' );
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.