Hi,
I would like to add a social profile for “WECHAT” but does not appear in the list
how can we solve that?
Thank you!
Delia
Hey!
Check it now, i added this to child theme functions.php:
function avia_add_custom_icon($icons) {
$icons['wechat'] = array( 'font' =>'wechat', 'icon' => 'ue805');
$icons['weibo'] = array( 'font' =>'wechat', 'icon' => 'ue806');
$icons['QQ'] = array( 'font' =>'wechat', 'icon' => 'ue807');
return $icons;
}
add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
Modify if needed.
Cheers!
Josue
Hi! Josue
about Q1:
i use http://kriesi.at/documentation/enfold/custom-social-icons/
code is(add 3 share link):
add_filter('avia_social_share_link_arguments', 'avia_add_social_share_link_arguments', 10, 1);
function avia_add_social_share_link_arguments($args)
{
$args['wechat'] = array("encode"=>true, "encode_urls"=>false, "pattern" => "http://www.wechat.com/sharer.php?u=[permalink]&t=[title]");
$args['weibo'] = array("encode"=>true, "encode_urls"=>false, "pattern" => "http://www.weibo.com/sharer.php?u=[permalink]&t=[title]");
$args['QQ'] = array("encode"=>true, "encode_urls"=>false, "pattern" => "http://www.qq.com/sharer.php?u=[permalink]&t=[title]");
return $args;
}
but no have corresponding icon, how to add icons and the icons matched to the corresponding field;
At this point I have imported into the site icon in the icon library;
Best regards
Dear Basilis,
I no idea how to contact wechat, would you please advise.
And, note the chinese website use ENFOLD, i have question that the share button on the 2nd menu, it’s relative with ENFOLD Social profiles setting? please advise.
1. http://www.cscapital.cn/ website
Hi memodemo!
Please do contact wechat who will help you with everything.
Cheers!
Basilis
Hi Elliott,
Thanks for your answer. Here is our website http://www.cscapital.cn/. It’s in Chinese language so let’s just focus on the top-right corner of the frontpage. As you may see, I added two chinese social site (Weibo & Wechat) at the last.
Because the Wechat account (the last icon highlighted in this pic http://cl.ly/image/011V1K022C2y) doesn’t have a direct link, so I linked the icon to a QR image file (http://www.cscapital.cn/weixin.jpg) for visitors to scan with their Wechat app. As a result, it opens alone in the tab. I’m sure you could understand this isn’t a good way to display it, right?
I’m aware of the icons are symbols instead of images, but I can only think of using the lightbox to display the image. Is there any way to do that?
I’ll be appreciated if you could tell me there is any way better to do that.
Kelvin