[guadec-web] custom login image featuring the guadec logo



commit c07aadcf186eafad97c88d6d7e43feeda4f6f3f4
Author: Andreas Nilsson <anilsson redhat com>
Date:   Thu Mar 21 09:54:08 2013 -0300

    custom login image featuring the guadec logo

 wordcamp-base/css/login.css |    3 +++
 wordcamp-base/functions.php |    6 ++++++
 2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/wordcamp-base/css/login.css b/wordcamp-base/css/login.css
new file mode 100644
index 0000000..a497910
--- /dev/null
+++ b/wordcamp-base/css/login.css
@@ -0,0 +1,3 @@
+#login h1 a { 
+       background-image: url("../images/logo.png") !important; 
+}
\ No newline at end of file
diff --git a/wordcamp-base/functions.php b/wordcamp-base/functions.php
index 1e79c7e..2e8bd73 100644
--- a/wordcamp-base/functions.php
+++ b/wordcamp-base/functions.php
@@ -9,4 +9,10 @@ wcb_maybe_define( 'WCB_URL', get_template_directory_uri() );
 
 require_once "lib/class-wcb-manager.php";
 
+
+function login_css() {
+       wp_enqueue_style( 'login_css', get_template_directory_uri() . '/css/login.css' );
+}
+add_action('login_head', 'login_css');
+
 ?>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]