This topic has 6 replies, 3 voices, and was last updated 7 years, 12 months ago ago by Eva Kemp
Hey,
I want to add to mt website social icons like Facebook, twitter, etc.
i read in the forum that you have a social widget but i cant find it at my widgets.
i have 2.1 legenda site version.
Thanks a head for your help
Hello,
You can use shortcode [share]
to add social icons.
Best regards,
Jack Richardson.
Hey Jack,
Thanks for your answer, but i did not understand where to add the shortcode.
lets say i want to add it 3 places:
1. In the header top bar.
2. In the footer.
3. add an option to share products through Facebook.
Thanks a head,
Ben
Hello,
1. Go to Appearance > Widgets > Place in header top bar and add Text widget there, write the content [share]
.
2. Edit your static block you created for footer and add Text element with the same content [share]
.
3. Social icons for products can be enabled in Theme Options > Single Product Page > Show share buttons > On.
Regards,
Eva Kemp.
Hey again,
thanks for yout answer, but is still got some questions:
1-2:
1. lets say i want to edit this social widget, how i can i do it?
because i dont want the social word to be written, i dont want pinterest and g+ icons and i want to change the icon colors.
2. i dont want to share product in the icon on the header or footer its need to be a lik to my facebook page.
3. in this part i want to share my products, but here i have another problem, the doesnt include a picture, just the product text, can i change it?
Thanks a head,
Ben
Hello,
1. You can change social icons code in the file wp-content/themes/legenda/framework/shortcodes.php, find the section “! Share This Product” in line 1476.
To change icons color use this code in custom.css file:
.top-bar .languages-area .etheme-social-icons li a {
color: #6f6f6f;
}
Write your color value.
2. In this case edit the same file wp-content/themes/legenda/framework/shortcodes.php and change icon link in the code, for example, for Facebook, <a href="http://www.facebook.com/sharer.php?u='.$permalink.'&images='.$image.'"
, replace http://www.facebook.com/sharer.php?u='.$permalink.'&images='.$image.'
with your Facebook link.
If you want to keep sharing option in products pages, but change links only in header and footer, then you have to search for some plugins where you’ll be able add your social account links.
3. Try to clear Facebook cache of product pages https://www.8theme.com/blog/clearing-facebooks-share-cache/ and check share icons after that.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up