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

    Hello,

    I’ve followed a bunch of threads regarding this matter, managed to add the specific fontello icons (Twitch and Discord) to the media library, and then to the Social profiles. They are already added to the socket and the links work but the icons don’t display.
    Not sure what I am missing here.

    Your help would be much appreciated!

    Here’s the code I added to Enfold Child functions.php

    // TWITCH AND DISCORD – Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    $icons[‘icon-twitch’] = array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘0xf1e8’);
    $icons[‘icon-discord-logo-black’] = array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘0xe800’);
    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[‘icon-twitch’] = ‘icon-twitch’;
    $icons[‘icon-discord-logo-black’] = ‘icon-discord-logo-black’;
    return $icons;
    }
    add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);

    #1355919

    Hey nasi,

    Thank you for the inquiry.

    We may need to access the site in order to check the issue properly. The icon name and character code might have to be adjusted. Please provide the login details in the private field, make sure that the Appearance > Theme File Editor panel is accessible.

    Best regards,
    Ismael

    #1355946

    Hi Ismael,

    Sure, find attached the credentials.

    Thanks!!

    #1356076

    Hi,

    Thank you for the info.

    We adjusted the character code of the social icons in the functions.php file. The icons are now displaying properly in the front end. Please make sure to purge the cache before testing the page.

    Best regards,
    Ismael

    #1356089

    Awesome! Works fine now.
    Thanks a lot Ismael. Much appreciated.

    Cheers,

    Nasi

    #1356112

    Hi,

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

    Best regards,
    Rikard

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