Hello good Morning
How can I add an icon that does not come in the theme in the header?
I am using the code that comes in the documentation but I get an error when I put it, the fontello zip file is already imported
This is the code I am using:
// Register new icon as a theme icon
function avia_add_custom_icon($icons) {
$icons[‘tiktok’] = array( ‘font’ =>’tiktok’, ‘icon’ => ‘ue801’);
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[‘tiktok’] = ‘tiktok’;
return $icons;
}
add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);
Hi Israel Beltran,
This seems to be a duplicate thread, I’ll be closing this thread and answer on your other thread.
Best regards,
Nikko
