-
AuthorPosts
-
December 13, 2023 at 9:10 am #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/logocredentials as private content
December 13, 2023 at 9:11 am #1427961more details as image
https://pic.in.th/image/ZfybUL
https://pic.in.th/image/ZfwdT9December 14, 2023 at 5:52 am #1428052Hi,
Thank you for the inquiry.
You can use the following filter to add a new social icon into the list.
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/75743285Best regards,
IsmaelDecember 14, 2023 at 2:57 pm #1428104Hi support team
I try to upload new icon but it shown message server no response as image
December 17, 2023 at 12:37 am #1428304December 19, 2023 at 3:46 am #1428468Now 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/ZumA0fDecember 19, 2023 at 12:03 pm #1428492Hi,
Please see our documentation for: How to add Custom Social Icons to Enfold options.Best regards,
MikeDecember 20, 2023 at 7:16 am #1428562I 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; }
December 20, 2023 at 12:08 pm #1428589Hi,
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”
and then it will show on the front end:
I have done this for you.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.