Support » Fixing WordPress » How do I Change WordPress logo on login page?

Viewing 10 replies - 1 through 10 (of 10 total)
  • I don’t understand if #3 and #4.. Where is the template located? and how do i upload new background image..
    This section describes how to install the plugin and get it working.

    1. Upload `the entire contents of the zip file to your plugin directory ‘/wp-content/plugins/’
    2. Activate the plugin through the ‘Plugins’ menu in WordPress
    3. Create a new login background using the handy template provided. Save it as ‘login-bkg-tile.jpg’
    4. Upload the new login background image to the /wp-content/plugins/bm-suctom-login/images/
    5. Bask in the glory of your beautiful new login screen

    Just paste this into your functions.php file

    // custom admin login logo
    function custom_login_logo() {
    	echo '<style type="text/css">
    	h1 a { background-image: url('.get_bloginfo('template_directory').'/images/custom-login-logo.png) !important; }
    	</style>';
    }
    add_action('login_head', 'custom_login_logo');

    Upload an image for the logo to your theme’s images folder, and make sure the name matches in the code above.

    I need my hand held a little bit.. lol I located functions.php … Where do i place this in the fun.php section?

    Where is themes images folder? Am I uploading this in media library?

    Name matching code in the theme folder? (‘template_directory’).’/images/custom-login-logo.png ???

    thanks for your help

    im using Fusion 3.0.3 by digitalnature on the site i want to change logo

    Ok. Your functions.php file starts with a <?php and ends with a ?>. That code has to go somewhere inside of those <? ?> tags. Just don’t paste it in between other code. Put it at the very top or very bottom, just inside of those <? ?> tags.

    You can upload your logo through the media uploader, copy the file url, and then replace /images/custom-login-logo.png with the full URL. http://yourwebsite.com/blah/image.jpg

    Ok after looking at the functions.php for your theme do this:

    <?php
    /* Fusion/digitalnature */
    
    /* Add the logo code here */
    
    function custom_login_logo() {
    	echo '<style type="text/css">
    	h1 a { background-image: url(http://yourwebsite.com/wp-content/uploads/yourimage.jpg) !important; }
    	</style>';
    }
    add_action('login_head', 'custom_login_logo');
    
    /* end logo code */
    
    function init_language(){
    	if (class_exists('xili_language')) {
    		define('THEME_TEXTDOMAIN','fusion');
    		define('THEME_LANGS_FOLDER','/lang');
    	} else {
    	   load_theme_textdomain('fusion', get_template_directory() . '/lang');
    	}
    }

    Actually this plugin worked really easy.. http://wordpress.org/extend/plugins/custom-login/

    My question is how do you change the the color of the Log In, Regsiter, and Lost your Password links and button (they are currently blue with white letters)

    Thanks jessn. Worked beautifully.

    Thanks Jessn, great tips!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘How do I Change WordPress logo on login page?’ is closed to new replies.