Created
February 22, 2015 04:54
-
-
Save mauriciogofas/1589380562a9888aef60 to your computer and use it in GitHub Desktop.
Logo personalizado em wp-login.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Logo Padrão no Login | |
| function gofas_wp_login_image() { | |
| echo " | |
| <style> | |
| body.login #login h1 a { | |
| background: url('".get_bloginfo('url')."/uploads/logo.png') 0px 0 no-repeat transparent; | |
| height:50px; | |
| width:160px; } | |
| </style> | |
| "; | |
| } | |
| add_action("login_head", "gofas_wp_login_image"); | |
| // END Logo Padrão no Login |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment