Ahoy –
Anyway I can add an Amazon icon to the header social icon?
Hey mcraig77!
Please refer to this post – http://kriesi.at/documentation/enfold/custom-social-icons/
Cheers!
Yigit
Ahoy –
I tired that but I get a pencil icon…not amazon
// Register new icon as a theme icon
function avia_add_custom_icon($icons) {
$icons[‘icon_name’] = array( ‘font’ =>’fontello’, ‘icon’ => ‘ue924’);
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[‘Amazon’] = ‘icon_amazon’;
return $icons;
}
add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);
Hi!
If you do not mind creating a temporary admin login and posting it here privately, we can fix it for you.
Cheers!
Yigit
Here ya go.. im using the code snipped plug for the php
Hi!
I changed the code to following one
// Register new icon as a theme icon
function avia_add_custom_icon($icons) {
$icons['amazon'] = array( 'font' =>'fontello', '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['Amazon'] = 'amazon';
return $icons;
}
add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
Please review your website now
Best regards,
Yigit