[gnomeweb-wp] stop including WPML css files in every page



commit 20b8d1d7c59a723934630d3cefdaab179845c70b
Author: Vinicius Depizzol <vdepizzol gmail com>
Date:   Tue Aug 24 00:05:35 2010 -0300

    stop including WPML css files in every page

 wp-content/themes/gnome-grass/TODO          |    3 ---
 wp-content/themes/gnome-grass/functions.php |    3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/wp-content/themes/gnome-grass/TODO b/wp-content/themes/gnome-grass/TODO
index a9ecc9a..6f28144 100644
--- a/wp-content/themes/gnome-grass/TODO
+++ b/wp-content/themes/gnome-grass/TODO
@@ -1,8 +1,5 @@
 The small TODO list of the <em>grass</em> template for gnome.org:
 
 - Finish the home page with sane content.
-
-- Remove including language-selector.css from WPML plugin on every page.
-  We don't need that.
   
 - Proper specific page for displaying news posts
diff --git a/wp-content/themes/gnome-grass/functions.php b/wp-content/themes/gnome-grass/functions.php
index c23262d..7431320 100644
--- a/wp-content/themes/gnome-grass/functions.php
+++ b/wp-content/themes/gnome-grass/functions.php
@@ -43,5 +43,8 @@ function create_post_type() {
   );
 }
 
+define('ICL_DONT_LOAD_NAVIGATION_CSS', true);
+define('ICL_DONT_LOAD_LANGUAGE_SELECTOR_CSS', true);
+
 
 ?>



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