Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1427960

    Hi support team,

    I need to add new icon on my website,
    I try to find LINE icon but it’s without this icon, As possible can you add for me?
    LINE is Social Network (popular in southeast asia)

    details as link
    https://line.me/en/logo

    credentials as private content

    #1427961
    #1428052

    Hi,

    Thank you for the inquiry.

    You can use the following filter to add a new social icon into the list.

    // https://kriesi.at/documentation/enfold/social-share-buttons/#how-to-add-custom-social-icons-to-enfold-options

    However, as the LINE icon isn’t included by default, you’ll need to retrieve an SVG version of the icon and convert it to a font icon using Fontello. Afterward, you can upload it to the theme using the Iconfont Manager. Please refer to the documentation below for detailed instructions.

    // https://kriesi.at/documentation/enfold/icon/#adding-your-own-fontello-or-flaticon-icons-
    // https://vimeo.com/75743285

    Best regards,
    Ismael

    #1428104

    Hi support team

    I try to upload new icon but it shown message server no response as image

    https://www.picz.in.th/image/d027aaq

    #1428304

    Hi,
    I looked in your media library and examined your fontello-687a9f97.zip but it only had these icons:
    Enfold_Support_4149.jpeg
    the reason it won’t install is because your server doesn’t have the PHP ZipArchive Extension enabled:
    Enfold_Support_4151.jpeg
    please ask your webhost to enable this on your server.

    Best regards,
    Mike

    #1428468

    Now uploaded it works, but as possible can I use icon customized with Social Profiles Page Because I want to use this part.

    Details as images
    https://pic.in.th/image/ZumkKD
    https://pic.in.th/image/ZumA0f

    #1428492

    Hi,
    Please see our documentation for: How to add Custom Social Icons to Enfold options.

    Best regards,
    Mike

    #1428562

    I try to replace standard icon but it does not work.

    I want icon LINE replace icon linkedin

    here this my code

    add_filter('avf_default_icons','avia_replace_standard_icon', 10, 1);
    
    function avia_replace_standard_icon($icons)
    {
    $icons['standard']	 = array( 'font' =>'icomoon', 'icon' => 'ue900');
    return $icons;
    }
    #1428589

    Hi,
    Typically when you add a new social profile following the documentation this is the correct code snippet that you should add to your child theme functions.php:

    
    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    $icons['line'] = array( 'font' =>'icomoon', 'icon' => 'ue900');
    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['Line'] = 'line';
    return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
    // Add new icon to sharebox
    add_filter('avia_social_share_link_arguments', 'avia_add_social_share_link_arguments', 10, 1);
    function avia_add_social_share_link_arguments($args){
        $tiktok = array('line' => array("encode"=>true, "encode_urls"=>false, "pattern" => "https://line.me/", 'label' => __("Share on Line",'avia_framework')));
        $args = array_merge($line, $args);
        return $args;
    }

    and then you would choose the new social profile from the options”
    Enfold_Support_4185.jpeg
    and then it will show on the front end:
    Enfold_Support_4187.jpeg
    I have done this for you.

    Best regards,
    Mike

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