Viewing 6 replies - 1 through 6 (of 6 total)
  • Password Protected works well with the Login Logo plugin which will allow you to replace the logo.

    Thread Starter Devin Walker

    (@dlocc)

    Thanks for the fast response. What about if we don’t want to use a plugin for this… is there an action we can hook into? I’m assuming that’s what this plugin is doing.

    The filters you need are:

    1. ‘login_headerurl‘ to change the URL the logo links to.

    2. ‘login_headertitle’ to change the logo text.

    3. The logo image is actually a background image on the H1 link tag so you’ll need the ‘login_head‘ action to output some styles to restyle it using .login h1 a {}

    Thread Starter Devin Walker

    (@dlocc)

    That’s exactly what I needed to know. Thanks!

    Thread Starter Devin Walker

    (@dlocc)

    Hmm, I’ve tested with this bit of code and while the logo is CSS is loading fine for the normal WordPress login it doesn’t appear to be loading at all for the login screen. Any tips?

    //* custom CSS for admin logo and layout
    function rkv_custom_stylez() {
        wp_enqueue_style('admin_head', plugins_url( 'css/admin.css', __FILE__));
    }
    add_action('login_head', 'rkv_custom_stylez', 10);

    Sorry, you also need to use the ‘password_protected_login_head’ like ‘login_head’ for the Password Protected login page

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Customize Logo’ is closed to new replies.