Marketing · Gutenberg

Pricing Section block for WordPress

All-in-one multi-tier pricing section with monthly/yearly toggle, feature rows, popular badge, and per-plan CTAs.

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

All-in-one multi-tier pricing section with monthly/yearly toggle, feature rows, popular badge, and per-plan CTAs.

Inspector panels on this block: Section Header, Billing Toggle, Plans (, Layout & Cards. Those titles come from index.js, not from a shared template.

Behavior controls: “Heading tag” options: H2, H3, H4, p; “CTA style” options: Filled, Outline, Subtle, Link; “Card style” options: Elevated (shadow), Flat, Bordered, Ghost.

Where to find it

Gutenberg inserter → Marketing → search “Pricing Section” (block name `blockenberg/pricing-section` in block.json). Style it in the sidebar after insert.

How to use Pricing Section block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Pricing Section”, insert it. Category: Marketing.
  3. Configure inspector controls that exist on this block. Open Section Header. Set “Show heading”, “Heading text”, “Heading tag”, “Show sub-text”.
  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
Show headingOn/off toggle in the inspector. On by default. Saved as `showSectionHeading`.
Heading textText field in the inspector. block.json default: Simple, transparent pricing. Saved as `sectionHeading`.
Heading tagSelect control; the chosen value is saved on the block. Options: H2; H3; H4; p. block.json default: h2. Saved as `headingTag`.
Show sub-textOn/off toggle in the inspector. On by default. Saved as `showSectionSubtext`.
Sub-textText field in the inspector. block.json default: No hidden fees. Cancel anytime.. Saved as `sectionSubtext`.
Show monthly/yearly toggleOn/off toggle in the inspector. On by default. Saved as `showToggle`.
Monthly labelText field in the inspector. block.json default: Monthly. Saved as `toggleLabelMonthly`.
Yearly labelText field in the inspector. block.json default: Yearly. Saved as `toggleLabelYearly`.
Show savings badgeOn/off toggle in the inspector. On by default. Saved as `showSavingsBadge`.
Savings badge textText field in the inspector. block.json default: Save 25%. Saved as `savingsBadge`.
Default to yearly viewOn/off toggle in the inspector. Off by default. Saved as `defaultYearly`.
Plan nameText field in the inspector. Saved as `plans`.
EyebrowText field in the inspector. Saved as `plans`.
DescriptionText field in the inspector. Saved as `plans`.
Monthly price (number only)Text field in the inspector. Saved as `plans`.
Yearly price (number only)Text field in the inspector. Saved as `plans`.
Period label (monthly)Text field in the inspector. Saved as `plans`.
Period label (yearly)Text field in the inspector. Saved as `plans`.
CTA labelText field in the inspector. Saved as `plans`.
CTA URLText field in the inspector. Saved as `plans`.
CTA styleSelect control; the chosen value is saved on the block. Options: Filled; Outline; Subtle; Link. Saved as `plans`.
Mark as popularOn/off toggle in the inspector. Saved as `plans`.
Popular badge textText field in the inspector. Saved as `plans`.
ColumnsNumeric range control in the inspector. Range 1–4. block.json default: 3. Saved as `columns`.
Gap (px)Numeric range control in the inspector. Range 0–60. block.json default: 24. Saved as `gap`.
Max width (px)Numeric range control in the inspector. Range 600–1600. block.json default: 1100. Saved as `maxWidth`.
Container padding (px)Numeric range control in the inspector. Range 0–120. block.json default: 48. Saved as `containerPadding`.
Card styleSelect control; the chosen value is saved on the block. Options: Elevated (shadow); Flat; Bordered; Ghost. block.json default: elevated. Saved as `cardStyle`.
Card border radius (px)Numeric range control in the inspector. Range 0–32. block.json default: 16. Saved as `cardRadius`.
Card padding (px)Numeric range control in the inspector. Range 16–64. block.json default: 32. Saved as `cardPadding`.
Currency symbolText field in the inspector. block.json default: $. Saved as `currencySymbol`.
Show eyebrowOn/off toggle in the inspector. On by default. Saved as `showEyebrow`.
Show descriptionOn/off toggle in the inspector. On by default. Saved as `showDescription`.
Show feature listOn/off toggle in the inspector. On by default. Saved as `showFeatures`.
Section HeadingShared Blockenberg typography popover (family, size, weight, spacing). Saved as `headingTypo`.
SubtextShared Blockenberg typography popover (family, size, weight, spacing). Saved as `subtextTypo`.
Plan Name (Name Typo)Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `nameTypo`.
PriceShared Blockenberg typography popover (family, size, weight, spacing). Saved as `priceTypo`.
Description (Desc Typo)Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `descTypo`.
FeatureShared Blockenberg typography popover (family, size, weight, spacing). Saved as `featureTypo`.
Container BackgroundColor control in the inspector. Saved as `containerBg`.
Card BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `cardBg`.
Popular Plan BackgroundColor control in the inspector. block.json default: #6366f1. Saved as `popularBg`.
Plan Name ColorColor control in the inspector. block.json default: #111827. Saved as `nameColor`.
Price ColorColor control in the inspector. block.json default: #111827. Saved as `priceColor`.
Period ColorColor control in the inspector. block.json default: #6b7280. Saved as `periodColor`.
Description ColorColor control in the inspector. block.json default: #6b7280. Saved as `descColor`.
Feature ColorColor control in the inspector. block.json default: #374151. Saved as `featureColor`.
Missing Feature ColorColor control in the inspector. block.json default: #d1d5db. Saved as `featureMissingColor`.
Included Icon ColorColor control in the inspector. block.json default: #10b981. Saved as `includedIconColor`.
Popular Name ColorColor control in the inspector. block.json default: #ffffff. Saved as `popularNameColor`.
Popular Price ColorColor control in the inspector. block.json default: #ffffff. Saved as `popularPriceColor`.
Toggle Active BackgroundColor control in the inspector. block.json default: #6366f1. Saved as `toggleActiveBg`.
Heading ColorColor control in the inspector. block.json default: #111827. Saved as `headingColor`.
Subtext ColorColor control in the inspector. block.json default: #6b7280. Saved as `subtextColor`.

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

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Pricing Section”. It sits under Marketing. After insert, open Section Header and set “Show heading”, “Heading text”, “Heading tag”, “Show sub-text”.

What makes Pricing Section different from other Blockenberg blocks?

All-in-one multi-tier pricing section with monthly/yearly toggle, feature rows, popular badge, and per-plan CTAs. Inspector labels on this block include “Show heading”, “Heading text”, “Heading tag”, “Show sub-text”.

Is the Pricing Section Gutenberg block free?

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

Can I style Pricing Section 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: Section Header, Billing Toggle, Plans (, Layout & Cards).

Related marketing blocks

Get Blockenberg

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

Get Blockenberg