Jump to content

Why won't code disiplay when page is published?

Recommended Posts

Posted

For some reason the idx code I put into the home page under section "See Our Featured Listings" populates when I'm in the editor screen, but once I hit save, I can't see it at all. 

Any ideas why this is happening? Has anyone experienced this before?

  • Replies 3
  • Views 562
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 2 weeks later...
Posted

Yeah! To be more specific it's an iframe code that supposed to display from my clients idx provider. I can see it when I'm in the editor screen. but I can't see it when it's saved and published. The page is www.primusrealtycollective.com under the "featured listings"

this is the snippet of code:

<iframe src="http://www.idxhome.com/featured/171870" width="100%" height="600" frameborder="0" allowtransparency="true">

</iframe>

Posted

Here is the issue.

ScreenShot2023-06-01at12_45_44PM.png.5fbd0f866d88c79b6fc619546c435075.png

Change the URL protocol from http to https on your iframe.

The reason, I suspect that it works in the editor is that the editor is less picky about these security type issues.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.