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

Airbnb Embed Code No Displaying Correctly


Question

Site URL: https://octahedron-grasshopper-7fpn.squarespace.com/properties

I'm setting up a website for my real estate and short term rental management business. On our properties page I want to display our Airbnb properties. Airbnb provides an HTML code to embed on your website to display a widget for your listing. However, when I embed the code in the code block, it just displays the code. If you go to this link and scroll down you'll see the code: https://octahedron-grasshopper-7fpn.squarespace.com/properties

Link to comment
  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Posted Images

5 answers to this question

Recommended Posts

  • 0

You can try

<script async="" src="https://www.airbnb.com/embeddable/airbnb_jssdk"></script>
<div class="airbnb-embed-frame" data-id="621177625280156656" data-view="home" style="width:450px;height:300px;margin:auto"><a href="https://www.airbnb.com/rooms/621177625280156656?guests=1&amp;adults=1&amp;s=66&amp;source=embed_widget">View On Airbnb</a><a href="https://www.airbnb.com/rooms/621177625280156656?guests=1&amp;adults=1&amp;s=66&amp;source=embed_widget" rel="nofollow">Lovely &#x27;Laurel Lie&#x27; Treetop Mountain Cabin</a></div>

 

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Youtube Gallery for Squarespace
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • 0

Have you tried set this code into a new block  in code block?

image.thumb.png.8ce27565c1f88bb6bd35bdd1eca55e14.png

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Youtube Gallery for Squarespace
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • 0

I mean adding your codes like this

<script>...</script>
<div>...</div>

 

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Youtube Gallery for Squarespace
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • 0
1 hour ago, bangank36 said:

I mean adding your codes like this

<script>...</script>
<div>...</div>

 

Sorry, I'm very much a novice who googles a lot when it comes to coding. So I'm not sure what you mean. Would you be willing to paste how the code should be so I know what you mean?

Link to comment

Create an account or sign in to comment

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


×
×
  • Create New...