Jump to content

Social media icons showing up twice!

Recommended Posts

Posted (edited)

Site URL: https://artistwebsites.ca

I apologise for not knowing which post this is from. I am new and have trouble navigating to my previous comments on posts. If anyone can help with that, I wold appreciate it. I am not a newbie at tech, but this forum is confusing to navigate. I can find my posts ok, but I guess I should have commented on this one.

I used a custom script from here to add social media icons to my header and footer pages. But unfortunately they are now posting twice! I've attached a screen shot, I would post the code but I can't find it on my website!

Screenshot 2024-11-25 at 10.34.33 AM.png

Edited by SleepyMonk
Posted

This doesn't look like a script, it looks like you have added the links twice especially since they are there twice for both the header and social block, can you check under social links?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted

Do you have anything in Header Code Injection?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted

Yes. This is the script I put in the code injection window.

 

<!-- sqs:beyondspace--classic-gallery -->
<script>
(()=>{if(window.self!==window.top&&window.top.Static.SQUARESPACE_CONTEXT.authenticatedAccount){var e="beyondspace--classic-gallery";if(!window.top.document.getElementById(e)){var t=window.top.document.createElement("script");t.id=e,t.src="https://cdn.jsdelivr.net/gh/BeyondspaceStudio/beyondspace-snippets@0.0.44/src/classic-gallery-block/index.min.js",window.top.document.body.appendChild(t)}}})();
</script>
<!-- /sqs:beyondspace--classic-gallery -->

Posted
11 hours ago, SleepyMonk said:

Yes. This is the script I put in the code injection window.

Can you try temporarily removing this and seeing if the issue persists?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Create an account or sign in to comment

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

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.