Blog · Gutenberg

Listicle block for WordPress

Rich numbered list article format for Top 10, Best of, and ranked editorial content. Each item has number badge, title, image, description, verdict and tags.

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

Rich numbered list article format for Top 10, Best of, and ranked editorial content. Each item has number badge, title, image, description, verdict and tags.

Inspector panels on this block: List Settings, Header, Style & Spacing. Those titles come from index.js, not from a shared template.

Behavior controls: “Layout” options: List (one per row), Grid (2 columns), Magazine (alternating); “Number Style” options: Badge (filled circle), Circle (outline), Large (background), Minimal (just number); “Image Ratio” options: 16:9, 4:3, 1:1 Square, 3:4 Portrait.

Where to find it

Gutenberg inserter → Blog → search “Listicle” (block name `blockenberg/listicle` in block.json). Style it in the sidebar after insert.

How to use Listicle block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Listicle”, insert it. Category: Blog.
  3. Configure inspector controls that exist on this block. Open List Settings. Set “Number Style”, “Show Numbers”, “Count Down (10, 9, 8…)”, “Show Images”.
  4. Check the published page. The view script reads HTML data attributes: data-opts, data-rendered. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
LayoutSelect control; the chosen value is saved on the block. Options: List (one per row); Grid (2 columns); Magazine (alternating). block.json default: list. Saved as `layout`.
Number StyleSelect control; the chosen value is saved on the block. Options: Badge (filled circle); Circle (outline); Large (background); Minimal (just number). block.json default: badge. Saved as `numberStyle`.
Show NumbersOn/off toggle in the inspector. On by default. Saved as `showNumbers`.
Count Down (10, 9, 8…)On/off toggle in the inspector. Off by default. Saved as `countDown`.
Show ImagesOn/off toggle in the inspector. On by default. Saved as `showImages`.
Image RatioSelect control; the chosen value is saved on the block. Options: 16:9; 4:3; 1:1 Square; 3:4 Portrait. block.json default: 16:9. Saved as `imageRatio`.
Image RadiusNumeric range control in the inspector. Range 0–30. block.json default: 8. Saved as `imageRadius`.
Show TagsOn/off toggle in the inspector. On by default. Saved as `showTags`.
Show Verdict BadgeOn/off toggle in the inspector. Off by default. Saved as `showVerdicts`.
Show Star RatingOn/off toggle in the inspector. Off by default. Saved as `showRatings`.
Show Section HeadingOn/off toggle in the inspector. Off by default. Saved as `showHeading`.
Heading TextText field in the inspector. Saved as `heading`.
Card RadiusNumeric range control in the inspector. Range 0–30. block.json default: 12. Saved as `cardRadius`.
Gap Between ItemsNumeric range control in the inspector. Range 4–80. block.json default: 24. Saved as `gap`.
Padding TopNumeric range control in the inspector. Range 0–120. block.json default: 0. Saved as `paddingTop`.
Padding BottomNumeric range control in the inspector. Range 0–120. block.json default: 0. Saved as `paddingBottom`.
Section BackgroundColor control in the inspector. Saved as `bgColor`.
Card BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `cardBg`.
Card BorderColor control in the inspector. block.json default: #e5e7eb. Saved as `cardBorder`.
Number BackgroundColor control in the inspector. block.json default: #6366f1. Saved as `numberBg`.
Number TextColor control in the inspector. block.json default: #ffffff. Saved as `numberColor`.
Colors — TitleColor control in the inspector. block.json default: #111827. Saved as `titleColor`.
SubtitleColor control in the inspector. block.json default: #6b7280. Saved as `subtitleColor`.
DescriptionColor control in the inspector. block.json default: #374151. Saved as `descColor`.
Tag BackgroundColor control in the inspector. block.json default: #ede9fe. Saved as `tagBg`.
Tag TextColor control in the inspector. block.json default: #6366f1. Saved as `tagColor`.
Verdict BackgroundColor control in the inspector. block.json default: #dcfce7. Saved as `verdictBg`.
Verdict TextColor control in the inspector. block.json default: #15803d. Saved as `verdictColor`.
StarsColor control in the inspector. block.json default: #f59e0b. Saved as `starColor`.

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

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Listicle”. It sits under Blog. After insert, open List Settings and set “Number Style”, “Show Numbers”, “Count Down (10, 9, 8…)”, “Show Images”.

What makes Listicle different from other Blockenberg blocks?

Rich numbered list article format for Top 10, Best of, and ranked editorial content. Each item has number badge, title, image, description, verdict and tags. Inspector labels on this block include “Number Style”, “Show Numbers”, “Count Down (10, 9, 8…)”, “Show Images”.

Is the Listicle Gutenberg block free?

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

Can I style Listicle 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: List Settings, Header, Style & Spacing).

Related blog blocks

Get Blockenberg

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

Get Blockenberg