Embedding on Every Platform
Every EasyAgentIDX widget is delivered as a single <script> tag. Place that tag anywhere inside the <body> of a page and the widget renders in its place. Below are platform-specific instructions.
WordPress
You have two options in WordPress. The simplest is to use the Custom HTML block in the block editor.
- Edit the page or post where you want the widget to appear.
- Add a Custom HTML block from the block inserter.
- Paste your embed snippet into the block and publish or update the page.
Alternatively, to embed on every page via your theme, openfunctions.php and enqueue the script using wp_footer.
Squarespace
- Open Settings then Advanced then Code Injection.
- Paste your embed snippet into the Footer field.
- Click Save. The widget will appear on all pages that include the footer injection.
To embed on a single page only, edit that page and add a Code Blockfrom the Add Block menu instead.
Wix
- In the Wix Editor, click Add Elements then select Embed Code then HTML iframe.
- In the HTML Settings panel, paste your embed snippet.
- Resize and position the embed element on your page, then publish.
Webflow
- In the Webflow Designer, drag an Embed element onto the canvas.
- Double-click the element to open the Embed Code panel.
- Paste your snippet and click Save and Close.
- Publish the site to push the changes live.
Framer
- In the Framer editor, click Insert in the top toolbar.
- Select Embed from the menu.
- Paste your embed snippet into the embed code field.
- Publish your project to see the widget live.
Custom HTML
Paste the snippet anywhere inside the <body> tag of your HTML file. The widget initializes as soon as the script loads.
<body>
<h1>My Real Estate Website</h1>
<!-- Widget renders here -->
<script
src="https://cdn.easyagentidx.com/widget.js"
data-widget-id="YOUR_WIDGET_ID">
</script>
</body>