EasyAgentIDX

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.

  1. Edit the page or post where you want the widget to appear.
  2. Add a Custom HTML block from the block inserter.
  3. 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

  1. Open Settings then Advanced then Code Injection.
  2. Paste your embed snippet into the Footer field.
  3. 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

  1. In the Wix Editor, click Add Elements then select Embed Code then HTML iframe.
  2. In the HTML Settings panel, paste your embed snippet.
  3. Resize and position the embed element on your page, then publish.

Webflow

  1. In the Webflow Designer, drag an Embed element onto the canvas.
  2. Double-click the element to open the Embed Code panel.
  3. Paste your snippet and click Save and Close.
  4. Publish the site to push the changes live.

Framer

  1. In the Framer editor, click Insert in the top toolbar.
  2. Select Embed from the menu.
  3. Paste your embed snippet into the embed code field.
  4. 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>