Skip to content

Instantly share code, notes, and snippets.

Jordan Boston jordanboston

Block or report user

Report or block jordanboston

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jordanboston / functions.php
Created May 19, 2012
change WP login logo
View functions.php
/** change admin login logo **/
function custom_loginlogo() {
echo '<style type="text/css">
body.login div#login h1 a {background-image: url('.get_bloginfo('home').'/wp-content/themes/the-theme/images/admin-logo.png) !important; }
add_action('login_head', 'custom_loginlogo');
/* -- changes the url of login logo -- */
function my_login_logo_url() {
return get_bloginfo( 'url' );
You can’t perform that action at this time.