Guides / Platforms / Ghost

Install guide

Add a DreamWidget to Ghost

Where it goesHTML card
What you needWorks on Ghost(Pro) and self-hosted Ghost.

Ghost is a publishing platform for newsletters and blogs. An HTML card holds a DreamWidget inside a post or page, between paragraphs, the same on Ghost(Pro) and self-hosted Ghost.

Widgets that work on Ghost

Every DreamWidget below works on Ghost, with the same steps.

  • Logo Showcase: A looping row of logos that keeps scrolling.
  • Video Showcase: YouTube, Vimeo, Twitch and TikTok in one browsable video wall.
  • YouTube Widget: Your YouTube channel or playlists as a gallery, kept current, played on your page.
  • Vimeo Widget: A Vimeo showcase, channel or member page as a gallery, played on your page.
  • TikTok Widget: Your TikTok videos on your site, from your connected account or pasted links, played on your page.
  • Twitch Widget: A Twitch channel's past broadcasts and uploads as a gallery, played on your page.
  • Countdown: A clock to a launch, a sale or a door opening, or an evergreen one per visitor.
  • Instagram feed: Your Instagram posts on your site, as a grid, a mosaic, a row or a list, kept current on their own, under your profile and a button to follow you on Instagram.
  • Showreel: Your photos and videos as a moving reel: cards glide to the center over a soft light ring, and visitors drag, swipe or click to open each one large.

Add a widget to a page

First, copy your code. In the DreamWidget editor, press Publish changes, then Copy code in the window that says your widget is live. The same code is in Settings, under Copy embed code. It is one short code; paste all of it, as copied.

  1. Add an HTML card. In the post or page editor type /html and press Enter.
  2. Paste. Paste your DreamWidget code into the card.
  3. Publish. Update or publish the post.

The popup on every page

These float over the page instead of taking a spot in it, so they load once per page.

  1. Use Code injection. Go to Settings, then Code injection, paste the code into "Site footer" and save.

If it does not show up

  1. The code shows on the page as text. It went into a text block. Delete it and paste it into the HTML card instead, the whole code as copied.
  2. The box is empty while you edit. Many editors do not run embedded code on the editing canvas. Preview the page, or open the published page, where it draws.
  3. Nothing shows on the live page. Publish the Ghost page after pasting, and in DreamWidget press Publish changes so the widget itself is live. Then open the page in a private window.
  4. The bottom of the widget is cut off. If Ghost gives the embed a fixed height, make it taller until the whole widget shows, then check the phone view.
  5. It showed before and now it does not. A widget on the free plan shows 300 times a month and then pauses until the 1st; the dashboard says so on its card. Any paid plan has no view limit.
Worth knowing: Ghost themes set a content width; a full-width card needs the theme to support wide cards.

Check it worked

Open the published page in a private window. The widget draws within a second; if the box is empty, see Checking it worked. Changes you make in the DreamWidget editor reach Ghost by themselves; you never paste the code again.

Other platforms