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,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.
Best regards,
Nikko
