Tagged: fontello
Hi,
My host (WPEngine) doesn’t support uploading zip files via admin control panel, I was told I need to upload via FTP. I can’t find where to upload the Fontello files, any help is greatly appreciated!
Hi jklillibridge!
Thank you for using Enfold.
Download the fontello files then extract it. Make sure that it contains all the font icons you need. Go to wp-content > uploads folder. Create a folder called avia_fonts then inside create another called fontello. Copy the following files from the extracted folder:
config.json
fonts > fontello.eot
fonts > fontello.svg
fonts > fontello.ttf
fonts > fontello.woff
After that, create a php file and name it “charmap“, add this code:
<?php $chars = array();
$chars['fontello']['ue800'] = 'ue800';
$chars['fontello']['ue801'] = 'ue801';
$chars['fontello']['ue802'] = 'ue802';
The code above represents 3 icons. If you have more than 3 icons, just add another array by following the pattern.
Regards,
Ismael
Hi Ismael,
I’ve tried this way. But it’s failed. My Enfold verson is 3.4.2. Have you updated this way? Please let me know. It is important for me. I’m in China. I need the social icon.
Hey!
Do the same steps then access the site’s database. Go to wp_options table and look for the “avia_builder_fonts”. Add another array in the option_value field. It will look like this:
a:3:{s:8:"whatsapp";a:3:{s:7:"include";s:19:"avia_fonts/whatsapp";s:6:"folder";s:19:"avia_fonts/whatsapp";s:6:"config";s:11:"charmap.php";}s:3:"svg";a:3:{s:7:"include";s:14:"avia_fonts/svg";s:6:"folder";s:14:"avia_fonts/svg";s:6:"config";s:11:"charmap.php";}s:6:"retard";a:3:{s:7:"include";s:17:"avia_fonts/retired";s:6:"folder";s:17:"avia_fonts/retired";s:6:"config";s:11:"charmap.php";}}
I got 3 sets of icons there, whatsapp, svg and retired.
Best regards,
Ismael