I am using sitecore 9.0.1 with sxa 1.7 , wants to add a new WeChat social media component to my sitecore site.I have added a default LinkedIN to the site and i need other medias too .can anyone please share How to achieve that.

enter image description here



For the other social networks, depending on the requirements I would say easiest would be to implement AddThis for social sharing if you don't require that much customization. If you take a look at the documentation https://doc.sitecore.com/users/sxa/17/sitecore-experience-accelerator/en/the-sxa-renderings-and-rendering-variants.html#_Social SXA has a prebuilt AddThis component and you could just add the script there, similar to how it is described in https://tothecore.sk/2018/03/29/social-sharing-in-sitecore-9/

You could also take a look at the Social Media Share component which lets you add social network links. If you would like to implement something custom you can look at the approach described https://blog.martinmiles.net/post/creating-custom-sxa-components-with-rendering-variants-and-almost-no-codebehind-on-an-example-of-social-share-buttons

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.