Publishing integrations
Website builders (HTML widget)
Last updated:
Add the HTML widget to Webflow, Squarespace, Framer, GoDaddy, Weebly, BigCommerce, Duda, Drupal, Joomla, Blogger or Lovable to show your articles.
If your site builder doesn't give Clodix a way to publish directly — Webflow, Squarespace, Framer, GoDaddy, Weebly, BigCommerce, Duda, Drupal, Joomla, Blogger and Lovable all work this way — Clodix gives you one small snippet of code instead. Paste it once on the page where you want your blog, and it shows your published articles automatically, including a full article view when a visitor clicks one.
Get your code
- Open Settings → Publishing integrations and click your platform's tile (or HTML widget for any other site).
- Copy the snippet shown.
Where to paste it
| Platform | Where |
|---|---|
| Webflow | In the Designer, add a Code Embed element to the page, paste the snippet, click Save & Close, then publish your site. |
| Squarespace | On the page where your blog should appear, add a Code Block and paste the snippet. |
| Framer | Add an Embed (HTML) layer to the page, paste the snippet, then publish. |
| GoDaddy | In GoDaddy Website Builder, add an HTML section and paste the snippet, then publish. |
| Weebly | Drag an Embed Code element onto the page, click Edit Custom HTML, and paste the snippet. |
| BigCommerce | In Page Builder, add an HTML widget (or use Script Manager) and paste the snippet. |
| Duda | In the Duda editor, drag an HTML widget onto the page and paste the snippet. |
| Drupal | Add a Custom Block with the Full HTML text format, paste the snippet, and place it on the page. |
| Joomla | Add a Custom HTML module to the page, paste the snippet, and save. |
| Blogger | Go to Layout → Add a Gadget → HTML/JavaScript, paste the snippet, and save. |
| Lovable | In the Lovable chat, ask: "Create a Blog page at /blog and add this code to it exactly as it is", paste the snippet after it, then Publish. |
| Any other site | Paste the snippet just before </body> anywhere on the page. |
Any site with a plain <div id="clodix-articles"></div> and the script tag after it works the same way, even outside a named builder.
- Back in Clodix, click I've added the code.
After you connect
- A Page where you added the widget field lets Clodix link directly to each article's live URL from inside the app — optional, but useful. Type the page's full address, like
https://yoursite.com/blog, or leave it empty — an address with a typo is refused rather than saved. You can leave it empty if the widget sits on your site's own domain and the page's HTML carries the code: Clodix then picks the page up itself — when a visitor opens it, or when it finds the code — and fills in the articles' addresses. Otherwise (a builder's own address, code added by a script) type the address in; typing it makes the article links work right away. - Click View live to open your site and confirm the widget shows your articles.
- The widget lists your newest 20 articles. A Show more button at the bottom loads the next ones, so every article you've published stays reachable from your site, down to the very first.
- New and edited articles appear in the widget automatically — there's nothing to republish. Clodix caches the widget's script for up to 5 minutes, so a brand-new article can take a few minutes to show up the first time.
"I added the code, but Clodix says it isn't on my site"
Clicking I've added the code only marks the widget as connected. The status next to your code changes from Not found on your site yet to Live on your site the first time a visitor's browser actually loads the widget from your page — and until then you'll also see the banner Your articles aren't showing on your site yet.
Right after you click I've added the code, Clodix also looks for the code itself — on the page you entered, on your home page and on the pages in your sitemap. If it finds the code, the status turns Live on your site within about a minute, and nobody has to visit the page. If it doesn't, work through this list:
- Open your published page in a normal browser window — not your builder's editor. Loading the page yourself counts as a visit.
- Publish your site after pasting. Most builders only show pasted code on the published site, not on a draft.
- Use the right kind of block. The code has to go into an HTML, Embed code, Code Embed or Custom HTML block (see the table above). A plain text block strips it out. In your page's source you should find
<div id="clodix-articles">followed by a script. - Check it's the page visitors see — your blog page, in your menu, not hidden and not behind a password. If you pasted it on another page, your articles show there instead.
- Clear your cache. A caching plugin, CDN or host cache can keep serving the old page without the code.
- Check it's the right site. If your account has more than one site, each has its own code — paste the code of the site whose domain you're using.
Still stuck? Contact support with your page address and the platform you use — or send the code to whoever manages your site.
The widget looks empty inside the builder's own editor
This is expected. Many site builders (Wix, GoDaddy, Squarespace and others) render pasted code inside a sandboxed preview while you're editing, which the widget can't always fill in. Open your published site (not the builder's edit view) to see your articles — that's where the widget actually runs.
FAQ
Is this good for SEO?
It's better than nothing, but it's not as strong as a real post. The widget adds your article to the page with JavaScript after the page loads, and an opened article (?post=…) gets its own title, description, canonical address and article markup. Search engines that run scripts can read them, but some engines and most link-preview tools still see an empty page on first load, and there is no guarantee that an article gets indexed. In a builder that isolates pasted code in a closed frame (Wix, Duda and the like) the page keeps its own head, so there an opened article has no title or description of its own. If your platform supports direct publishing (WordPress, Shopify, Wix, Ghost or HubSpot), use that instead — see Connect your website for the comparison.
Can I style the widget to match my site?
The widget inherits your page's fonts automatically, and picks a readable text color based on what's behind it (or you can set data-theme="light" / data-theme="dark" yourself). There's no deeper styling control beyond that today.
Do I need to re-paste the code when a new article is published?
No. Paste the snippet once — every new or edited article appears automatically within a few minutes, with no further action from you.
Does the widget scroll inside a small window?
No. A visitor who opens an article sees it in full on the same page — the block grows to fit it, on desktop and on a phone — so there is no scrollbar inside the widget.
I can't add the code myself.
Forward the snippet to whoever builds or manages your site — it only has to be added once. If there is nobody, write to support@clodix.ai and tell us which builder your site uses.
Can I add the widget to more than one page?
Yes — paste the same snippet on as many pages as you like; each one will load the same list of articles.