Jump to content

Custom Code Issue

Recommended Posts

I am trying to integrate some custom code from another website that they provided. If I put it in the "Advanced" code section under the settings for the page the information shows up great except for the top row is cut off. 

If I try to add a code block it shows Powered by Shelter Love and then gives an error saying Script disabled.

This is the code they provided:

<div id="shelterluv_wrap_1595966654526"></div><div>This page is powered by Shelterluv.  Learn more <a href="http://www.shelterluv.com/" target="_blank">www.shelterluv.com</a></div>
<script type="text/javascript" src="https://www.shelterluv.com/misc/shelterluv_embed.js"></script>
<script type="text/javascript">
var sourceDomain="https://www.shelterluv.com";
var base_path="";
var GID = 200;
var filters = {"species":"Dog"};
EmbedAvailablePets("shelterluv_wrap_1595966654526",GID,filters, 1,sourceDomain,base_path);
</script>

Link to comment
  • Replies 1
  • Views 311
  • Created
  • Last Reply
1 hour ago, Amandajowheeler said:

If I try to add a code block it shows Powered by Shelter Love and then gives an error saying Script disabled.

Scripts can sometimes be disabled while logged in. Best to check your site when logged out or in an incognito window to see how the code looks. If it's still not displaying, reply with your site URL and site-wide password if you have one set so we can take a look.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.