GSB Posted February 7, 2020 Share Posted February 7, 2020 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&src=sdkpreparse" class="fb-xfbml-parse-ignore">Share</a></div> NEC and Osman_04 2 Link to comment
amollieo Posted February 24, 2020 Share Posted February 24, 2020 Hey @GSB I'm having the same issue, were you able to find a solution? NEC 1 Link to comment
Ophelia123 Posted March 13, 2020 Share Posted March 13, 2020 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. sssupers, Junipurr, natashadeen and 1 other 2 1 1 Link to comment
PJBeirne Posted April 17, 2020 Share Posted April 17, 2020 Thank you @Ophelia123 - this is really helpful. I have a couple of questions: under Settings -- Advanced -- I only see "code injection" -- and I have the option of adding that code to the header or footer only. I don't see an option of "Post Blog Item Code Injection" - am I missing something? I've used the sharethis functionality to add the share icons to the left side of the screen - looks professional and provides the opportunity for me to choose the platforms I want. I would like to restrict these sharing buttons to just blog posts. Any suggestions? Thanks in advance! natashadeen 1 Link to comment
VivianeAlexandra Posted April 19, 2020 Share Posted April 19, 2020 (edited) Hey @PJBeirne ! I had the same question than you for how to access "Post Blog Item Code Injection" . You just have to go to Pages menu - Click the settings wheel icon of your blog page - Then click advanced and there you have the option to only put on the blog post. Hope it helps! 🙂 Edited April 19, 2020 by VivianeAlexandra natashadeen 1 Link to comment
Guest Posted April 20, 2020 Share Posted April 20, 2020 Hi all! Thanks @Ophelia123 for the suggestion! I tried it and the buttons showed up, but when I click on the any share button, I'm not guided to any other link or page. Can you help? Thanks! Link to comment
vinions Posted April 21, 2020 Share Posted April 21, 2020 Any ideas on how to accomplish this on Personal Pages (i.e. no javascript)? Galactic_Overlord 1 Link to comment
Guest Posted April 23, 2020 Share Posted April 23, 2020 (edited) Thank you so much for sharing this here! I'm having an issue, and I'm not sure if it's an issue with squarespace or sharethis. I went to sharethis and put the code in my Blog Post Code Injector... I didn't like how it showed up on the page initially, so I went and adjusted the customization, pasting in the new code. (I am trying to get the share buttons to show at the bottom of the blog posts.) Now, they've disappeared, and I can't get them to reappear at all. There was a message about needing to verify that the js has been placed in the <header>. I cleared cookies, redid it all, and finally got a "Verified" message. Code in header, and code in blog post code injector. Nothing is showing up on the page. Does it take time to actually show up on the blog post on the website? I'm not sure if I've done something wrong. Thank you! Edited April 23, 2020 by Guest I moved forward with issue, now stuck at another point. System lag? Link to comment
Guest Posted April 23, 2020 Share Posted April 23, 2020 ok! I just saw that sharethis sent me an email with the code. It looked different from what was showing up on their website page. I went & replaced the header code with that. and walla! The share buttons showed at the bottom of my blog post. So, I don't know if something went wonky on their website, or there was a delay. But these buttons are great! Thank you, @Ophelia123 and everyone! Maybe my issues will help folk... check your email, once you've generated code. The code they send may work if the other doesn't. Or perhaps you just need to be more patient than I was. Link to comment
PJBeirne Posted April 23, 2020 Share Posted April 23, 2020 (edited) On 4/19/2020 at 11:46 AM, VivianeAlexandra said: You just have to go to Pages menu - Click the settings wheel icon of your blog page - Then click advanced and there you have the option to only put on the blog post. Thank you so much - I don't know how I didn't see it! Edited April 23, 2020 by PJBeirne Link to comment
Neuerotica Posted April 27, 2020 Share Posted April 27, 2020 I really wish Squarespace would hurry up and roll out this feature. The ShareThis buttons are ugly and criminally outdated. They looked cool in 2009, not so much now. natashadeen, Jovan, sivdp and 11 others 14 Link to comment
mportch Posted May 1, 2020 Share Posted May 1, 2020 I agree these are ugly. We need the option to change colours and create something less intrusive. This should be base-standard with Squarespace and can't believe it's not on 7.1! sivdp, Jovan, Neuerotica and 3 others 6 Link to comment
MN12 Posted May 5, 2020 Share Posted May 5, 2020 I can't believe you need to use code to create share buttons and also the fact that it's not included in the basic package. Is there a way to submit a request to squarespace for them to change this?? it's 2020, absolutely crazy for this to be considered "extra" and for it to have to be done through code.... LotNotes, 6910studio, jaisequoia and 8 others 11 Link to comment
BruceCampbell9000 Posted May 7, 2020 Share Posted May 7, 2020 I'm not comfortable giving "sharethis" all of this information - I'm ultimately responsible for privacy on the site but giving all this data to sharethis is scary, no? FORNEO, StephYoung, 6910studio and 1 other 4 Link to comment
Neuerotica Posted May 11, 2020 Share Posted May 11, 2020 On 5/5/2020 at 1:36 PM, MN12 said: I can't believe you need to use code to create share buttons and also the fact that it's not included in the basic package. Is there a way to submit a request to squarespace for them to change this?? it's 2020, absolutely crazy for this to be considered "extra" and for it to have to be done through code.... What's even more confounding, is that the controls are there. They simply don't work as yet. Social sharing is such an integral part of marketing for most of us, and it would seem to me that implementing this function should have been at the top of the list of things-to-do for the Squarespace team. Carolin_W, Junipurr, tanyacamp and 9 others 12 Link to comment
Neuerotica Posted May 11, 2020 Share Posted May 11, 2020 On 5/5/2020 at 1:36 PM, MN12 said: I can't believe you need to use code to create share buttons and also the fact that it's not included in the basic package. Is there a way to submit a request to squarespace for them to change this?? it's 2020, absolutely crazy for this to be considered "extra" and for it to have to be done through code.... I spoke to a representative at SqSp last year about it, and was told that it was a "good idea", and that he would forward my request to engineers. 😒 I thought he was joking. They obviously have plans to roll out this feature since the controls are there, but I don't know why they're sitting on it. JohnLynchBuilderLLC, katelyndekle, Latoya.burris and 1 other 4 Link to comment
janandsusan1 Posted May 12, 2020 Share Posted May 12, 2020 Happy to find this thread! Does anyone know if there's a way to add sharing buttons on a regular page -- not a blog? My client is requesting page in 7.1 which will contain a video and several other elements and they don't want it as a blog post -- but they do the ability for people to share the page. Any ideas on how I can accomplish this? P.S. I tried using the code from sharethis.com (recommended earlier in this thread by @Ophelia123) in header code injection for the page in question -- it didn't work, but thought it was worth a try... hoping someone can suggest something that does work. Thanks! Etana1, sssupers, JohnLynchBuilderLLC and 1 other 4 Jan & Susan admin + design (503) 208-6342 Link to comment
bloggerH Posted May 16, 2020 Share Posted May 16, 2020 On 5/11/2020 at 12:52 PM, PDChappelle said: I spoke to a representative at SqSp last year about it, and was told that it was a "good idea", and that he would forward my request to engineers. 😒 I thought he was joking. They obviously have plans to roll out this feature since the controls are there, but I don't know why they're sitting on it. I did the same this past month because it's utterly ridiculous that it's not included in the 'new' hype version, and was told the same. But someone on mgmt did reach out, though they didn't make any promises. It's a pain in the butt. I was also asking about recipe inserts - you know the easy inserts where people can print the recipe if they want? For blogs this is all fairly basic functionality and options. Not the kind of thing I want to be paying for and not have. sivdp, Neuerotica, Carolin_W and 2 others 5 Link to comment
chrishowell Posted June 14, 2020 Share Posted June 14, 2020 I'm really disappointed in Squarespace for not including this as standard at launch for 7.1. What are they thinking? They need to hurry up and roll this out mark.kutch, Jovan, MrsLydia and 5 others 8 Link to comment
jose Posted July 6, 2020 Share Posted July 6, 2020 If you want a well functioning and customizable social share buttons, then try Elfsight. It's an expensive tool but they do a really good job with customization and our package includes unlimited websites. I customized the whole look and feel of the buttons and then was able to just implement it in the code of the Blog instead of having to paste it manually on each blog, works so much better. https://elfsight.com/social-media-share-buttons/ Neuerotica 1 Link to comment
Neuerotica Posted July 6, 2020 Share Posted July 6, 2020 3 hours ago, jose said: If you want a well functioning and customizable social share buttons, then try Elfsight. It's an expensive tool but they do a really good job with customization and our package includes unlimited websites. I customized the whole look and feel of the buttons and then was able to just implement it in the code of the Blog instead of having to paste it manually on each blog, works so much better. https://elfsight.com/social-media-share-buttons/ Thanks! I'll look into this shortly! Link to comment
Elfsight Posted July 8, 2020 Share Posted July 8, 2020 Hi! @jose Thanks for recommending us. We really appreciate this! @PDChappelle We'll be glad to help you with adding social share buttons on your website. We offer free installation help, so If you need our assistance - don't hesitate to contact our Support Center. Best regards, Elfsight Team jaisequoia 1 Link to comment
Neuerotica Posted July 13, 2020 Share Posted July 13, 2020 On 7/8/2020 at 3:19 AM, Elfsight said: Hi! @jose Thanks for recommending us. We really appreciate this! @PDChappelle We'll be glad to help you with adding social share buttons on your website. We offer free installation help, so If you need our assistance - don't hesitate to contact our Support Center. Best regards, Elfsight Team Thanks for the offer of assistance. I added your product to my website and it looks fabulous and works flawlessly! Link to comment
Elfsight Posted July 14, 2020 Share Posted July 14, 2020 19 hours ago, PDChappelle said: Thanks for the offer of assistance. I added your product to my website and it looks fabulous and works flawlessly! Thank you! We're really happy you like our widget. Feel free to contact us - we'll be always delighted to help you! 🙂 Osman_04 1 Link to comment
Recommended Posts
Posted by Susana_SQSP,
1 reaction
Go to this post
Create an account or sign in to comment
You need to be a member in order to leave a comment