/ Published in: PHP
WP Functions
Step 1: Upload the logo you want into the theme images folder
Step 2: Add the following code to your theme functions.php file
Step 1: Upload the logo you want into the theme images folder
Step 2: Add the following code to your theme functions.php file
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* CUSTOM LOGIN PANEL LOGO */ /* // Step 1: Upload the logo you want into the theme images folder // Step 2: Add the following code to your theme functions.php file */ add_action("login_head", "my_login_head"); function my_login_head() { echo " <style> body.login #login h1 a { background: url('".get_bloginfo('template_url')."/img/logo.jpg') no-repeat scroll center top transparent; height: 59px; width: 220px; } </style> "; }