Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #343276

    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.

    #344396

    Hi James,

    Can you post the link to your website please? a temporary WordPress administrator account may be needed too.

    Regards,
    Josue

    #344727
    This reply has been marked as private.
    #345662

    Hi!

    All corrected. Could you check and let us know.

    Best regards,
    Arvish

    #345678

    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).

    #345798

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.