[gnome-web-www] The genericons.css stylesheet wasn't loaded, enqueue it for share icons to show up correctly.



commit b040b58be62e6ec7ef87109f47c3ee64012812ab
Author: Andrea Veri <av gnome org>
Date:   Fri Aug 14 18:42:37 2015 +0200

    The genericons.css stylesheet wasn't loaded, enqueue it for share icons to show up correctly.

 theme/functions.php |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/theme/functions.php b/theme/functions.php
index ec65264..7e47797 100644
--- a/theme/functions.php
+++ b/theme/functions.php
@@ -4,6 +4,12 @@
  * @subpackage Default_Theme
  */
 
+/*
+ * The genericons.css stylesheet wasn't loaded, enqueue
+ * it for share icons to show up correctly. 
+ */
+
+wp_enqueue_style( 'genericons', '/wp-content/plugins/jetpack/_inc/genericons/genericons/genericons.css', 
array(), '3.1' );
 
 /*
  * Add support for custom menus and posts thumbnails


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