Install
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.zipOn Packagist as humanmade/hm-flourish-block:
composer require humanmade/hm-flourish-blockNo 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
-
Install dependencies:
npm install -
Build the block:
npm run build -
For development with automatic rebuilds:
npm start
Project Structure
src/index.js- Main entry point, registers the block with the editorsrc/style.scss- Frontend styles for the blocksrc/editor.scss- Editor-only stylesinc/blocks.php- PHP block registration and render callbackinc/namespace.php- Plugin namespace and hook setupbuild/- 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()andwp_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.