Guides / Platforms / WooCommerce

Install guide

Add a DreamWidget to WooCommerce

Where it goesCustom HTML block
What you needSame as WordPress: any self-hosted store, or WordPress.com Business and up.

WooCommerce turns a WordPress site into a store, so a DreamWidget goes in the same Custom HTML block you would use on any page. Store owners mostly use it on the home page and inside product descriptions.

Widgets that work on WooCommerce

Every DreamWidget below works on WooCommerce, 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.

Where they work best on a WooCommerce site

  • The shop home page. Logos of the brands you stock, or of the press that has covered you, build trust before anyone reaches a product.
  • A product description. A short video gallery of the product in use answers questions that photos cannot.

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. Open the product or page. Edit the product description or store page where the widget should show.
  2. Add a Custom HTML block. Press +, search "Custom HTML" and add the block. In the classic product editor use the Text tab.
  3. Paste and update. Paste the code and press Update.
Or our plugin. The DreamWidget plugin is in the WordPress plugin directory: open Plugins, Add New, search DreamWidget, then install and activate it. It adds a DreamWidget block: paste your widget's id (the part after w= in the code) and pick its kind (Logo Showcase, Video Showcase, Showreel, Popup, Instagram feed or Countdown; the YouTube, Vimeo, TikTok and Twitch widgets use Video Showcase), and it draws on the page and in the editor's preview. If your site cannot reach the directory, download the plugin as a zip and add it from Plugins, Add New, Upload Plugin.

The popup on every page

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

  1. Add it to the store footer. Use a footer code plugin such as WPCode with a Site Wide Footer snippet, paste the code and activate it.

If it does not show up

  1. The widget is missing on product pages. Many themes build product pages from a separate template. Place the code in the product description, not in a sidebar the template hides.
  2. The classic product editor has no blocks. Switch the description box to its Text tab and paste the code there.

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 WooCommerce by themselves; you never paste the code again.

Other platforms