Streaming live at 10am (PST)

How to add Social Media Buttons that allow visitors to share my website link


#1

If I'm not mistaken the social media widgets given actually are meant to link to a Facebook page but what I want is a way to allow visitors to share my website on their social media sites/pages. How can I do this?

https://preview.webflow.com/preview/test130?preview=090d87e7959dc3168b11aa1c9c7a1758 I've written in text to show where I want them.

I went on to Share This and got this code but I don't really know how to add it.

I think this bit would go in a html element:

 <span class='st_sharethis_large' displayText='ShareThis'></span>
<span class='st_facebook_large' displayText='Facebook'></span>
<span class='st_twitter_large' displayText='Tweet'></span>
<span class='st_linkedin_large' displayText='LinkedIn'></span>
<span class='st_pinterest_large' displayText='Pinterest'></span>
<span class='st_email_large' displayText='Email'></span>

but not sure what to do with this:

<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "e78a166e-de81-4aaf-89ca-6459188426a0", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>

Grateful for any help.

Can I also request that in the future these types of social media buttons are available as well please?


#2

Hello @DawnM! smile

Yes, the span belongs inside of the "Embedded Code" element. I believe that scripts can go in an embedded code as well, but if you want to focus on performance with the site, you should place it in the footer.

This can be found under "Custom Code" in Site Settings.

Hope I could help! smiley


#3

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.