Inseriamo un logo sopra alla form di login:
1 |
function my_login_logo() { ?> |
1 2 3 4 5 6 |
<style type="text/css"> body.login div#login h1 a { background-image: url(URLIMAGE); width:300px; height:HEIGHTpx; background-size: 300px HEIGHTpx; } </style> |
1 2 3 4 5 6 7 |
<?php } add_action( 'login_enqueue_scripts', 'my_login_logo' ); function my_login_logo_url() { return get_bloginfo( 'url' ); } add_filter( 'login_headerurl', 'my_login_logo_url' ); |
Aggiungere il link al sito dello sviluppatore sotto alla form:
1 2 3 4 5 6 7 8 |
function login_myfooter() { add_filter( 'login_footer', 'customlink_footer' ); } add_action( 'init', 'login_myfooter' ); function customlink_footer() { echo '<p style="text-align: center; padding: 20px;">Developed by <a href="http://www.intergraf.it/" target="_blank"><strong>Intergraf</strong></a></p>'; } |