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

    I added my own social icon to my website with the tutorial from the forum:

    And now, when hovering on the icon, the following alt-text displays “Icon_name”. Does anyone have an idea how to change the alt-text?
    (I used the Child Theme from Enfold)


    This “icon_name” are only placeholder texts.

    you had to change it to your needs f.e.

    // Register new icon as a theme icon
    function avia_add_tiktok_icon($icons) {
    	$icons['tiktok'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue8fa' , 'display_name' => 'TikTok');
    	return $icons;
    add_filter('avf_default_icons','avia_add_tiktok_icon', 10, 1);
    // Add new icon as an option for social icons
    function avia_add_tiktok_social_icon($icons) {
    	$icons['TikTok'] = 'tiktok';
    	return $icons;
    add_filter('avf_social_icons_options','avia_add_tiktok_social_icon', 10, 1);

    that display_name was new to me too. It is only necessary if you need a special writing for the icon (also for hovering). Here it is the second big T in the icon name ( like WhatsApp etc. )


    in the second snippet the : $icons['TikTok'] = 'tiktok'; on the left determines the way it is shown in the dropdown-list on enfold – social profiles – Your social profiles ( you can have here: $icons['Mein TikTok Icon'] = 'tiktok'; )
    the “tiktok” is used to create the corresponding classes – so here now : social_bookmarks_tiktok and av-social-link-tiktok
    and the title and aria-label – with a big letter at the beginning.
    If you like to change that – the display_name will be set.

    these two had to be the same:


    Hi Julian,

    Please follow Guenni007’s solution.

    , thanks for always helping out :)

    Best regards,


    Thank you @guenni007, it worked!



    Great, I’m glad that you got it working. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,

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