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.

Get Blockenberg

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

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Org Chart”, insert it. Category: Business.
  3. Configure inspector controls that exist on this block. Open Nodes. Set “Name”, “Role / Job title”, “Department”, “Reports to”.
  4. 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

ControlWhat the code does
NameText field in the inspector.
Role / Job titleText field in the inspector.
DepartmentText field in the inspector.
Reports toSelect control; the chosen value is saved on the block. Options: (root — no parent).
Show titleOn/off toggle in the inspector. On by default. Saved as `showTitle`.
Show avatarsOn/off toggle in the inspector. On by default. Saved as `showAvatars`.
Show departmentOn/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 — StyleSelect 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 topNumeric range control in the inspector. Range 0–200. block.json default: 40. Saved as `paddingTop`.
Padding bottomNumeric range control in the inspector. Range 0–200. block.json default: 40. Saved as `paddingBottom`.

What the front-end script actually does

When this is the right block

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

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Org Chart from the Gutenberg inserter.

Get Blockenberg