Changeset 931
- Timestamp:
- 10/24/2014 09:26:59 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wc-fonts/wc-fonts.php
r117 r931 16 16 add_action( 'wp_head', array( $this, 'wp_head_typekit' ), 102 ); // after safecss_style 17 17 add_action( 'wp_head', array( $this, 'wp_head_google_web_fonts' ) ); 18 add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_icon_fonts' ) ); 18 19 } 19 20 … … 142 143 return $output; 143 144 } 145 146 /** 147 * Allow sites to use icon fonts on the front-end 148 */ 149 public function enqueue_icon_fonts() { 150 $dashicons_sites = array( 364 ); // 2014.sf 151 152 if ( in_array( get_current_blog_id(), $dashicons_sites ) ) { 153 wp_enqueue_style( 'dashicons' ); 154 } 155 } 144 156 } 145 157
Note: See TracChangeset
for help on using the changeset viewer.