Layout · Gutenberg

Page List block for WordPress

A styled list of pages or links with optional icons, hierarchy, and rich color controls.

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

A styled list of pages or links with optional icons, hierarchy, and rich color controls.

Inspector panels on this block: Pages, Layout, Spacing & Shape. Those titles come from index.js, not from a shared template.

Behavior controls: “Description” (Short subtitle shown below the title); “Layout — Style” options: Plain, Bordered, Pills, Cards, Sidebar; “Sub-page depth” options: 1 level (no sub-pages), 2 levels (show sub-pages); “Link target” options: Same tab, New tab.

Page List has no render.php and no frontend.js. The saved Gutenberg HTML is what visitors see, plus Blockenberg layout/typography CSS.

Where to find it

Gutenberg inserter → Layout → search “Page List” (block name `blockenberg/page-list` in block.json). Style it in the sidebar after insert.

How to use Page List block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Page List”, insert it. Category: Layout.
  3. Configure inspector controls that exist on this block. Open Pages. Set “Sub-page title”, “URL”, “Page Title”, “Description”.
  4. Publish. Save the page. Output is the saved block HTML; typography/colors follow Blockenberg shared panels.

Inspector controls from this block’s code

ControlWhat the code does
Sub-page titleText field in the inspector.
URLText field in the inspector.
Page TitleText field in the inspector.
DescriptionText field in the inspector. Short subtitle shown below the title.
Layout — StyleSelect control; the chosen value is saved on the block. Options: Plain; Bordered; Pills; Cards; Sidebar. block.json default: plain. Saved as `layout`.
ColumnsNumeric range control in the inspector. Range 1–4. block.json default: 1. Saved as `columns`.
Sub-page depthSelect control; the chosen value is saved on the block. Options: 1 level (no sub-pages); 2 levels (show sub-pages). block.json default: 2. Saved as `depth`.
Show iconsOn/off toggle in the inspector. On by default. Saved as `showIcons`.
Show descriptionOn/off toggle in the inspector. Off by default. Saved as `showDescription`.
Show chevronOn/off toggle in the inspector. On by default. Saved as `showChevron`.
Link targetSelect control; the chosen value is saved on the block. Options: Same tab; New tab. block.json default: _self. Saved as `linkTarget`.
Max WidthText field in the inspector. block.json default: 100%. Saved as `maxWidth`.
Item gap (px)Numeric range control in the inspector. Range 0–40. block.json default: 4. Saved as `gap`.
Padding vertical (px)Numeric range control in the inspector. Range 0–40. block.json default: 12. Saved as `itemPaddingV`.
Padding horizontal (px)Numeric range control in the inspector. Range 0–60. block.json default: 16. Saved as `itemPaddingH`.
Border radius (px)Numeric range control in the inspector. Range 0–50. block.json default: 8. Saved as `borderRadius`.
Icon size (px)Numeric range control in the inspector. Range 12–48. block.json default: 20. Saved as `iconSize`.
Link colorColor control in the inspector. block.json default: #1e293b. Saved as `linkColor`.
Link hover colorColor control in the inspector. block.json default: #6c3fb5. Saved as `linkColorHover`.
Colors — BackgroundColor control in the inspector. block.json default: transparent. Saved as `bgColor`.
Background hoverColor control in the inspector. block.json default: #f3f0ff. Saved as `bgColorHover`.
Border colorColor control in the inspector. block.json default: #e2e8f0. Saved as `borderColor`.
Icon colorColor control in the inspector. block.json default: #6c3fb5. Saved as `iconColor`.
Description colorColor control in the inspector. block.json default: #64748b. Saved as `descColor`.
Chevron colorColor control in the inspector. block.json default: #94a3b8. Saved as `chevronColor`.
Accent colorColor control in the inspector. block.json default: #6c3fb5. Saved as `accentColor`.

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 Page List block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Page List”. It sits under Layout. After insert, open Pages and set “Sub-page title”, “URL”, “Page Title”, “Description”.

What makes Page List different from other Blockenberg blocks?

A styled list of pages or links with optional icons, hierarchy, and rich color controls. Inspector labels on this block include “Sub-page title”, “URL”, “Page Title”, “Description”.

Is the Page List Gutenberg block free?

Yes. Page List ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Page List 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: Pages, Layout, Spacing & Shape).

Related layout blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Page List from the Gutenberg inserter.

Get Blockenberg