WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Simple Facebook Connect] Customizing the Login Page

[Plugin: Simple Facebook Connect] Customizing the Login Page

Viewing 1 replies (of 1 total)
  • While there are a few plugins that will do that, you can actually just insert the code below into your theme functions.php file:

    /* BEGIN custom login & register screen */
    function my_custom_login_logo() {
    echo ‘<style type=”text/css”>
    h1 a { background-image:url(‘.get_bloginfo(‘template_directory’).’/images/logo-login.png) !important; }
    </style>’;
    }
    add_action(‘login_head’, ‘my_custom_login_logo’);
    function change_wp_login_url() { echo bloginfo(‘url’); }
    function change_wp_login_title() { echo get_option(‘blogname’); }
    add_filter(‘login_headerurl’, ‘change_wp_login_url’);
    add_filter(‘login_headertitle’, ‘change_wp_login_title’);
    /* END custom login & register screen */

    This will let you replace the default WP logo and link. I moved away from a plugin to this method months ago; live example with the SFC plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Simple Facebook Connect] Customizing the Login Page’ is closed to new replies.