Greetings,
I followed this thread to add a new social icons to my header but it is not showing up. I added the following code to my child theme functions.php
// Register new icon as a theme icon
function avia_add_custom_icon($icons) {
$icons['yelp'] = array( 'font' =>'yelp', 'icon' => 'ue800');
return $icons;
}
add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
// Add new icon as an option for social icons
function avia_add_custom_social_icon($icons) {
$icons['yelp'] = 'yelp';
return $icons;
}
add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
Please help if possible
Hey asapevictions,
Thank you for using Enfold.
You have to upload the yelp icon in the Enfold > Import / Export > Iconfont Manager. Have you done that?
Here’s how: https://kriesi.at/documentation/enfold/icon/#adding-your-own-fontello-or-flaticon-icons-
Best regards,
Ismael
Yes, I did.
Hi,
Alright. Please post the login details in the private field. We may need to adjust the font and icon parameter value.
Best regards,
Ismael
See Private
Hi,
Thanks for the update.
We adjusted the font name a bit. The icon is displaying properly now.
Best regards,
Ismael
Great, Thanks!
Hi,
You’re welcome!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
Don’t forget to bookmark Enfold Documentation for future reference.
Thank you for using Enfold :)
Best regards,
Ismael