Tagged: Blog, page builder, social share buttons, Xing
-
AuthorPosts
-
August 26, 2015 at 6:15 pm #493751
Hi team,
how can I add Xing to the social share buttons (avia builder and on blog posts)? There is a Xing button for social profiles – so why is there still no default for the social sharing? It’s very important in Germany and Austria!
I found this code in the forum but it doesn’t work:
/** * Add items on the social share section */ add_filter('avia_social_share_link_arguments', 'avia_add_social_share_link_arguments', 10, 1); function avia_add_social_share_link_arguments($args) { $args['xing'] = array("encode"=>true, "encode_urls"=>false, "pattern" => "https://www.xing.com/social_plugins/share/new?h=1&url=[permalink]&t=[title]"); return $args; }
Please advise,
Jan :)August 27, 2015 at 9:18 pm #494449Hi Jan!
That code should work, can you post a link to the site? an admin account may be needed to.
Best regards,
JosueAugust 28, 2015 at 3:15 pm #494870Hi Josue,
thank you. The Login is in the private area.
Please tell me, if you could fix it.
Cheers,
Jan :)August 28, 2015 at 9:53 pm #495109Done, here’s the code i ended up using:
add_filter('avf_default_icons','avia_replace_close_icon', 10, 1); function avia_replace_close_icon($icons) { $icons['xing'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue923'); return $icons; } add_filter('avia_social_share_link_arguments', 'avia_add_social_share_link_arguments', 10, 1); function avia_add_social_share_link_arguments($args) { $args['xing'] = array("encode"=>true, "encode_urls"=>false, "pattern" => "https://www.xing.com/social_plugins/share/new?h=1&url=[permalink]&t=[title]"); return $args; }
September 3, 2015 at 7:15 pm #497925Awesome, Josue! Thank you so much!!
Jan :)
September 4, 2015 at 4:42 am #498117You are welcome, glad to help :)
Regards,
JosueFebruary 7, 2016 at 9:57 pm #579250Hey there,
may I ask where you put in the code? We also need the share button for XING on a site.
How about updates? Is it update proof? (We also use a child theme).thx a lot – Frank
February 7, 2016 at 10:24 pm #579261Hey Frank!
You can put the code on your child theme functions.php file.
Best regards,
JosueFebruary 7, 2016 at 10:57 pm #579268Thank you very much … it worked!
Frank
February 8, 2016 at 2:45 am #579300You are welcome Frank, glad to help :)
Regards,
JosueOctober 31, 2016 at 11:31 am #706082Hello, is it posible to change the position of the Xing Icon. Now it takes place at the end of the Row. Id like to place it between G+ and LinkedIn.
thanx in advance
ThomasOctober 31, 2016 at 12:33 pm #706097Hi!
You can simply go to Enfold theme options > Social Profiles and change the order as needed.
Cheers!
YigitJanuary 19, 2021 at 10:36 pm #1273842Hi all,
also want to have the xing link in our blog page
But I was not able to get really where I had to put the codethanks for helping
Thomas
let me know if you need an admin account!
January 20, 2021 at 10:39 am #1273965Hi @TScC,
Please refer to Mike’s post here – https://kriesi.at/support/topic/replace-social-share-button-g-with-xing/#post-908370
Best regards,
YigitJanuary 20, 2021 at 2:49 pm #1274061Hi Yigit,
thanks!
Can you tell me where I can find the place to change the code
I did not set up achild theme!
thanksThomas
January 20, 2021 at 7:01 pm #1274161HI Yigit,
I worked on it to figure out the issue
I installed the child theme but still I have no menu appearnce!
what did I missthanks for your support
ThomasJanuary 20, 2021 at 8:22 pm #1274187Hi TScC,
Please open a new ticket for your problem. Provide us admin access to have a deeper look into the issue, as well as precise links where we can see the issue. Screenshots highlighting what’s going on would help a lot (imgur.com, dropbox).
Best regards,
VictoriaJanuary 20, 2021 at 8:45 pm #1274203Hi Victoria,
thanks
i was able to enable the editor (diable ithemes security :-)
I was able to lad the child theme
However would be cool to get your help how to include icon for xingI will send you the details via private link
thanks
Thomas
January 20, 2021 at 9:12 pm #1274218Hi TScC,
Please activate the child theme first and then you can add the code to the functions.php.
Best regards,
VictoriaJanuary 21, 2021 at 12:07 am #1274244Hi Victoria,
activated child theme and copied the below statement as your equested
got the following messages
syntax error, unexpected ‘=>’ (T_DOUBLE_ARROW)*****************************************
<?php
/*
* Add your own functions here. You can also copy some of the theme functions into this file.
* WordPress will use those functions instead of the original functions then.
*/’gplus’ => array(“encode”=>true, “encode_urls”=>false, “pattern” => “https://plus.google.com/share?url=%5Bpermalink%5D” , ‘label’ => __(“Share on Google+”,’avia_framework’)),January 21, 2021 at 12:42 am #1274246HI Victoria,
I tried now
‘xing’ => array(“encode”=>true, “encode_urls”=>false, “pattern” => “https://https://www.xing.com/home?url=%5Bpermalink%5D” , ‘label’ => __(“Share on xing”,’avia_framework’)),did not work
there is no standard google plus button anymore. May I use another template?
thanks for your help
Thomas
January 22, 2021 at 11:25 am #1274655Good Morning,
Could you just give me a sequence of steps I need to do to have the xing link incorporated since I just lost track what I need to do following your directions
I just switched back to the parent enfold since quite a few changes happended to the website with the child theme
thanks for your ongoing supportthanks
Thomas
January 22, 2021 at 12:57 pm #1274671Hi TScC,
I see that you’re still on the parent theme, the changes that we will make will be wiped out with the theme update, so you need to be using a child theme and we can take it from there.
Best regards,
VictoriaJanuary 24, 2021 at 7:35 pm #1275122Hi Victoria,
all now on child theme
I added picture to show you the example (want to replace facebook link with xing link)thanks a lot for your guidance
Thomas
January 26, 2021 at 11:06 pm #1275579Hi Thomas,
https://share.getcloudapp.com/8LukGeRq I added the code so Xing is there now, please check.
Best regards,
VictoriaJanuary 27, 2021 at 8:20 pm #1275864Hi Victoria,
thanks a lot
looks really fine
thomasJanuary 28, 2021 at 8:54 pm #1276123Hi TScC,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.