Custom Fields
Re-Envisioned
Support General WordPress deafault login page - is there a way to set custom logo image?

  • Creator
    Topic
  • #29113
    Resolved Peter
    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?

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #29122
    Peter
    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 1 replies (of 1 total)
  • You must be logged in to reply to this topic.