Tagged: Arvish, icon, social media icon, tooltip, Yelp
I followed this thread and was able to change the Vk icon to a Yelp icon in the social media header. (https://kriesi.at/support/topic/use-different-social-icons/). Now, how do I change the tooltip to say “Yelp” because it still says “Vk”.
Thanks.
Hi James,
Can you post the link to your website please? a temporary WordPress administrator account may be needed too.
Regards,
Josue
Hi!
All corrected. Could you check and let us know.
Best regards,
Arvish
Yes, perfect thank you. Is that something that had to be done in-house or can anyone fix that? (In case, I need to do the same for another icon).
Hi!
You had a wrong $icon[‘Vk’] instead of $icon[‘Yelp’] in your code, which I corrected.
But essentially, the following code does the trick
add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
function avia_add_custom_icon($icons)
{
//Add all icons below
//$icons['icon_name'] = array( 'font' =>'which_font', 'icon' => 'icon_code');
$icons['yelp'] = array( 'font' =>'fontello', 'icon' => 'ue805');
return $icons;
}
add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
function avia_add_custom_social_icon($icons)
{
//$icons['Social_Icon_Name'] = 'icon_name';
$icons['Yelp'] = 'yelp';
return $icons;
}
Cheers!
Arvish