I’m trying to add a custom icon to Social Profiles, everything works except the icon doesn’t display. I’m using default enfold icons. ue800 and ue8f3 display no icon. There is a space for where the icon should go and it’s clickable, just no icon.
if(isset($avia_config['use_child_theme_functions_only'])) return;
// Register new icon as a theme icon
function avia_add_custom_icon($icons) {
$icons['Telegram'] = array( 'font' =>'fontello', 'icon' => 'ue8f3');
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['Telegram'] = 'Telegram';
return $icons;
}
add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
What needs to be done to get the icon to display? Using latest version of WP and Enfold.
bump
Bump 2
bump 3
The font is called entypo-fontello
The font is still called entypo-fontello
nothing has changed yet – the font is still called entypo-fontello ;)
I’m just kidding a bit
the fault is on https://kriesi.at/documentation/enfold/custom-social-icons/ – should be corrected indeed
Hi,
We have updated that, Vinay has worked on re-creating all the documentation, we will have something really soon!
Best regards,
Basilis