Business · Gutenberg
Org Chart block for WordPress
Organizational hierarchy chart with avatar, name, role, and department for every node.
Get Blockenberg
Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.
What it actually does
Organizational hierarchy chart with avatar, name, role, and department for every node.
Inspector panels on this block: Nodes, Display, Connector Lines, Appearance. Those titles come from index.js, not from a shared template.
Behavior controls: “Reports to” options: (root — no parent); “Connector Lines — Style” options: Elbow, Straight, Curved.
Where to find it
Gutenberg inserter → Business → search “Org Chart” (block name `blockenberg/org-chart` in block.json). Style it in the sidebar after insert.
How to use Org Chart block for WordPress
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Org Chart”, insert it. Category: Business.
- Configure inspector controls that exist on this block. Open Nodes. Set “Name”, “Role / Job title”, “Department”, “Reports to”.
- Check the published page. The view script reads HTML data attributes: data-collapse, data-initialized, data-nodes, data-show-avatars, data-show-dept. The block editor preview may not run the same view script.
Inspector controls from this block’s code
| Control | What the code does |
|---|---|
| Name | Text field in the inspector. |
| Role / Job title | Text field in the inspector. |
| Department | Text field in the inspector. |
| Reports to | Select control; the chosen value is saved on the block. Options: (root — no parent). |
| Show title | On/off toggle in the inspector. On by default. Saved as `showTitle`. |
| Show avatars | On/off toggle in the inspector. On by default. Saved as `showAvatars`. |
| Show department | On/off toggle in the inspector. On by default. Saved as `showDepartment`. |
| Collapse on click (frontend) | On/off toggle in the inspector. On by default. Saved as `collapseOnClick`. |
| Connector Lines — Style | Select control; the chosen value is saved on the block. Options: Elbow; Straight; Curved. block.json default: elbow. Saved as `connectorStyle`. |
| Line width (px) | Numeric range control in the inspector. Range 1–6. block.json default: 2. Saved as `connectorWidth`. |
| Avatar size (px) | Numeric range control in the inspector. Range 32–96. block.json default: 56. Saved as `avatarSize`. |
| Card radius (px) | Numeric range control in the inspector. Range 0–32. block.json default: 12. Saved as `nodeRadius`. |
| Padding top | Numeric range control in the inspector. Range 0–200. block.json default: 40. Saved as `paddingTop`. |
| Padding bottom | Numeric range control in the inspector. Range 0–200. block.json default: 40. Saved as `paddingBottom`. |
What the front-end script actually does
- The view script reads HTML data attributes: data-collapse, data-initialized, data-nodes, data-show-avatars, data-show-dept.
- An IntersectionObserver starts work when the block enters the viewport.
When this is the right block
- Organizational hierarchy chart with avatar, name, role, and department for every node — that is the job of Org Chart, not a generic content block.
- Use it when you need the editor control labeled “Name”, which exists on this block’s inspector.
- It matches pages about org chart, organization, hierarchy.
- Inserter grouping: company, service, and operations pages.
Notes from the implementation
viewScript: this folder’s frontend.js is enqueued on the front end for this block.
FAQ
How do I add the Org Chart block in WordPress?
Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Org Chart”. It sits under Business. After insert, open Nodes and set “Name”, “Role / Job title”, “Department”, “Reports to”.
What makes Org Chart different from other Blockenberg blocks?
Organizational hierarchy chart with avatar, name, role, and department for every node. Inspector labels on this block include “Name”, “Role / Job title”, “Department”, “Reports to”.
Is the Org Chart Gutenberg block free?
Yes. Org Chart ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.
Can I style Org Chart to match my theme?
Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Nodes, Display, Connector Lines, Appearance).
Related business blocks
About Section
Ready-made About Us section with split image/video + text layout, optional company stats row, badge label, CTA buttons, and full background/color controls.
Author Profile
Extended author bio card with avatar, name, role, bio, stats, and social links.
Avatar Group
Overlapping stack of user or team avatars with an optional +X counter bubble.
Bio Card
Rich individual profile card with photo, name, role, bio text, skill tags, social links, availability badge, and CTA button.
Contact Card
Business card block with photo, contact details, and social links. Multiple style variants.
Team Card
Standalone team member card with photo, name, role, bio, skills, and social links.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Org Chart from the Gutenberg inserter.