WP Manifestindependent plugin directory
manifest / editor / hm-flourish-embed-block

Flourish Embed Block

Embed Flourish charts and maps in WordPress

★ 0stars
747composer installs
1.7.0latest · 3d ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/humanmade/hm-flourish-embed-block/archive/refs/heads/main.zip

On Packagist as humanmade/hm-flourish-block:

composer require humanmade/hm-flourish-block
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Flourish Block

A WordPress block plugin for embedding Flourish data visualizations.

Setup

  1. Install dependencies:

    npm install
  2. Build the block:

    npm run build
  3. For development with automatic rebuilds:

    npm start

Project Structure

  • src/index.js - Main entry point, registers the block with the editor
  • src/style.scss - Frontend styles for the block
  • src/editor.scss - Editor-only styles
  • inc/blocks.php - PHP block registration and render callback
  • inc/namespace.php - Plugin namespace and hook setup
  • build/ - Compiled assets (generated by npm build)

How It Works

  • The block is registered as a dynamic block, meaning it's rendered server-side by PHP
  • The editor shows a placeholder since save() => null
  • The Flourish embed script is registered and enqueued only once via wp_register_script() and wp_enqueue_script() to avoid duplicates
  • The render callback outputs the Flourish embed HTML with the specified visualization ID

Releases

10 releases.

Tag
Published
1.7.0 latest
Oct 19, 2026 3d ago
May 20, 2026 5mo ago
Mar 18, 2026 7mo ago
Feb 25, 2026 7mo ago
Feb 24, 2026 8mo ago
Feb 23, 2026 8mo ago
Feb 20, 2026 8mo ago
Feb 20, 2026 8mo ago
Feb 20, 2026 8mo ago
Feb 20, 2026 8mo ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.