FontAwesome CDN
-
Hi, great plugin, thanks !
I was wondering if there was a way to load FontAwesome style sheet from CDN rather than local ?
Ex. : //maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css
I bet you have to extends
Menu_Icons_Type_Fonts
wheretype = 'fa'
and change thispublic function __construct() { $this->stylesheet = sprintf( '%scss/font-awesome%s.css', Menu_Icons::get( 'url' ), Menu_Icons::get_script_suffix() ); parent::__construct(); }
To this :
$this->stylesheet = sprintf( '//maxcdn.bootstrapcdn.com/font-awesome/ [CHECK ICON $version] /css/font-awesome.min.css'); }
But how to make that the most properly, and overall plugin update compatible ?
Thanks for your help and your plugin ! ??
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘FontAwesome CDN’ is closed to new replies.