Comments Fabrizio started the conversationMarch 23, 2015 at 9:31pmHi!Great template, thank you for that wonderful work!How can I update the icon of ionicons? The current version is 2.0.1 with 733 icons and in the theme there is v 1.4.1 with "only" 525.Many thanksFabrizio 295Paul repliedMarch 24, 2015 at 9:30amHi Fabrizio!You need to manually edit the code a bit. Please open "/includes/assets.php" file and find this code:wp_register_style( 'uxbarn-ionicons', 'http://code.ionicframework.com/ionicons/1.5.2/css/ionicons.min.css', array(), null );Just update the URL of the Ionicons reference to the latest version which you can find it on http://ionicons.com/. So as a result it would be:wp_register_style( 'uxbarn-ionicons', 'http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css', array(), null );This should help. :)Regards,PaulFabrizio repliedMarch 30, 2015 at 1:18pmMany thanks!Fabrizio repliedMarch 30, 2015 at 1:36pmHi,there is a problem with the icons update... when I change the url, the new icons that I need works properly but olders icons, like "ion-ios7-arrow-left" disappears... there is a way for mixing the two css?thanksF. 295Paul repliedMarch 31, 2015 at 7:39amHi,Looks like the latest version Ionicons of has changed from "-ios7-" to just "-ios-" so that's why your old icons disappear.Please try updating your icon code and make sure to use the same code as the list on: http://ionicons.com/Cheers,PaulFabrizio repliedMarch 31, 2015 at 8:06pmYes, what you say is correct, and it seems logical.The problem is that the old code of the icons used by you in the template (such as photo galleries and other)... 295Paul repliedApril 1, 2015 at 7:51amOh, I see...Well, please add below code into the "uxbarn_load_css()" function (in "assets.php" file):wp_register_style( 'uxbarn-ionicons-152', 'http://code.ionicframework.com/ionicons/1.5.2/css/ionicons.min.css', array(), null ); wp_enqueue_style( 'uxbarn-ionicons-152' );It will load the older Ionicons v1.5.2 so some icons that are fixed in the template files can display. This should help.Fabrizio repliedApril 1, 2015 at 1:19pmyeah!it works fine!Many thanks Paulcheers Sign in to reply ...
Hi!
Great template, thank you for that wonderful work!
How can I update the icon of ionicons? The current version is 2.0.1 with 733 icons and in the theme there is v 1.4.1 with "only" 525.
Many thanks
Fabrizio
Hi Fabrizio!
You need to manually edit the code a bit. Please open "/includes/assets.php" file and find this code:
Just update the URL of the Ionicons reference to the latest version which you can find it on http://ionicons.com/. So as a result it would be:
This should help. :)
Regards,
Paul
Many thanks!
Hi,
there is a problem with the icons update... when I change the url, the new icons that I need works properly but olders icons, like "ion-ios7-arrow-left" disappears... there is a way for mixing the two css?
thanks
F.
Hi,
Looks like the latest version Ionicons of has changed from "-ios7-" to just "-ios-" so that's why your old icons disappear.
Please try updating your icon code and make sure to use the same code as the list on: http://ionicons.com/
Cheers,
Paul
Yes, what you say is correct, and it seems logical.
The problem is that the old code of the icons used by you in the template (such as photo galleries and other)...
Oh, I see...
Well, please add below code into the "uxbarn_load_css()" function (in "assets.php" file):
It will load the older Ionicons v1.5.2 so some icons that are fixed in the template files can display. This should help.
yeah!
it works fine!
Many thanks Paul
cheers