Wordpress: custom wp-admin logo

/* cambiar logotipo / change logo */ function custom_loginlogo() { echo '<style type="text/css"> h1 a {background-image: url(mi-ruta-de-logotipo) !important; background-position: center; background-size:300px 130px !important; width: 100% !important; height: 150px !important; } #login{ padding-top:20px; } </style>'; } add_action('login_head', 'custom_loginlogo'); /* cambiar URL al hacer click en el logotipo / change URL in logo click */ function custom_loginlogo_url($url) { return 'http://www.mi-nueva-ruta.com'; } add_filter( 'login_headerurl', 'custom_loginlogo_url' );
cambiar logotipo en la pantalla de wp-admin y cambia la URL al darle click /
change logo on the wp-admin screen and change the URL when clicking

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.