Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Recommended Posts

Site URL: https://inktractor.com

I'm trying to figure out a way to add social sharing buttons through code injection on squarespace 7.1 because it doesn't have share buttons. I think there's a way I can manually add at least a like button through say facebook's "like button configurator" but it would be a manual add to every blog post through a code block. I've been told I could circumnavigate this through code injection but I don't know how to change the code to make it a different link for every blog post. Can anybody help me? Here's the code I'm trying to modify to recognize individual blog posts:

<div class="fb-share-button" data-href="https://inktractor.com/fiction" data-layout="button" data-size="small"><a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Finktractor.com%2Ffiction&amp;src=sdkpreparse" class="fb-xfbml-parse-ignore">Share</a></div>

Share this post


Link to post

Hi Guys, so I was having the same issue for version 7.1 (so crazy they took it away). Here is how to add share buttons if you haven't found out already:

1. Go to https://sharethis.com/platform/share-buttons-2/?utm_source=googleadwords&utm_medium=cpc&utm_campaign=Search_NB_SocialShare&gclid=EAIaIQobChMI6LSrjKmX6AIVkg4rCh3MGwfQEAAYASAAEgIGXfD_BwE

2. It's super easy, but after you select Activate Now, scroll down and click "customise your share buttons" to pick and choose those you want and don't want, and to change their look and location. Unforuntately they don't have any nice sexy buttons, just the standard, but at least you have them.

3. I only wanted them on my blog posts, so for each blog, I added the code to Settings -- Advanced -- Post Blog Item Code Injection. But you could do the same for any page you want to add them to.

4. And it's done. It's free by the way, you just have to register.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...