• Hello goodday,

    is it possible to show the profile picture on the wordpress login screen? I use the plugin to create an app: wp mobile app. You will then see the simple wordpress logo but I want their profile picture to be visible when my members log in..

    Kind regard vd Hee

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jacques Malgrange

    (@sojahu)

    Hi,

    You can replace the WP logo on the login page with another one using this simple method :

    function f_login_logo() {
      echo '<style type="text/css">body.login div#login h1 a {background-image: url('. get_stylesheet_directory_uri().'/img/mylogo.png); padding-bottom:30px;}</style>';
      }
    add_action( 'login_enqueue_scripts', 'f_login_logo' );

    In your case, if the user is not logged in, you can’t display his image (WordPress doesn’t know who he is); and if he is logged in, the login page is not used…

    Regards

    Thread Starter vandehee

    (@vandehee)

    Thank you verry much..
    I’ve never changed a code, do you have a video of how to do it? I hope so. Thank you very much!

    Kind regard vd Hee

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘logo profile picture’ is closed to new replies.