Marketing · Gutenberg

Demo / Trial Section block for WordPress

Book-a-Demo or Start-Free-Trial CTA section with trust pills, social-proof stats, and optional product screenshot.

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

Book-a-Demo or Start-Free-Trial CTA section with trust pills, social-proof stats, and optional product screenshot.

Inspector panels on this block: Content, CTA, Trust Signals, Social Proof Stats, Product Image, Layout. Those titles come from index.js, not from a shared template.

Behavior controls: “CTA Mode” options: Button, Email Form; “Layout” options: Centered, Split – Text Left, Split – Text Right.

Where to find it

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

How to use Demo / Trial 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 “Demo / Trial Section”, insert it. Category: Marketing.
  3. Configure inspector controls that exist on this block. Open Content. Set “Badge Text”, “Heading”, “Subtext”, “CTA Mode”.
  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
Badge TextText field in the inspector. block.json default: ✨ No credit card required. Saved as `badge`.
HeadingText field in the inspector. block.json default: See It in Action — Request a Demo. Saved as `heading`.
SubtextText field in the inspector. block.json default: Get a personalised walkthrough from our team and discover how Blockenberg can transform your workflow in under 30 minutes.. Saved as `subtext`.
CTA ModeSelect control; the chosen value is saved on the block. Options: Button; Email Form. block.json default: button. Saved as `ctaMode`.
Primary Button LabelText field in the inspector. block.json default: Book a Free Demo. Saved as `ctaLabel`.
Primary Button URLText field in the inspector. block.json default: #. Saved as `ctaUrl`.
Show Secondary ButtonOn/off toggle in the inspector. On by default. Saved as `showCtaSec`.
Secondary LabelText field in the inspector. block.json default: Start Free Trial. Saved as `ctaSecLabel`.
Secondary URLText field in the inspector. block.json default: #. Saved as `ctaSecUrl`.
Form PlaceholderText field in the inspector. block.json default: Enter your work email. Saved as `formPlaceholder`.
Submit LabelText field in the inspector. block.json default: Request Demo. Saved as `formSubmitLabel`.
Form Action URLText field in the inspector. Saved as `formAction`.
Show Trust SignalsOn/off toggle in the inspector. On by default. Saved as `showTrust`.
Trust Signals — TextText field in the inspector.
Show StatsOn/off toggle in the inspector. On by default. Saved as `showStats`.
NumberText field in the inspector.
LabelText field in the inspector.
Show ImageOn/off toggle in the inspector. On by default. Saved as `showImage`.
LayoutSelect control; the chosen value is saved on the block. Options: Centered; Split – Text Left; Split – Text Right. block.json default: centered. Saved as `layout`.
Max WidthNumeric range control in the inspector. Range 600–1600. block.json default: 1100. Saved as `maxWidth`.
Padding TopNumeric range control in the inspector. Range 0–200. block.json default: 100. Saved as `paddingTop`.
Padding BottomNumeric range control in the inspector. Range 0–200. block.json default: 100. Saved as `paddingBottom`.
Colors — BackgroundColor control in the inspector. block.json default: #0f172a. Saved as `bgColor`.
HeadingColor control in the inspector. block.json default: #f8fafc. Saved as `headingColor`.
SubtextColor control in the inspector. block.json default: #94a3b8. Saved as `subColor`.
Badge BackgroundColor control in the inspector. block.json default: rgba(99,102,241,0.15). Saved as `badgeBg`.
Badge TextColor control in the inspector. block.json default: #a5b4fc. Saved as `badgeColor`.
CTA ButtonColor control in the inspector. block.json default: #6366f1. Saved as `ctaBg`.
CTA TextColor control in the inspector. block.json default: #ffffff. Saved as `ctaColor`.
Secondary Button TextColor control in the inspector. block.json default: #a5b4fc. Saved as `ctaSecColor`.
Trust TextColor control in the inspector. block.json default: #94a3b8. Saved as `trustColor`.
Stat NumberColor control in the inspector. block.json default: #f8fafc. Saved as `statNumColor`.
Stat LabelColor control in the inspector. block.json default: #64748b. Saved as `statLabelColor`.
AccentColor control in the inspector. block.json default: #6366f1. Saved as `accentColor`.
Badge font size (px)Numeric range control in the inspector. Range 10–20. block.json default: 13. Saved as `badgeFontSize`.
Heading (Typo Heading)Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoHeading`.
Subtext (Typo Subtext)Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoSubtext`.
CTA button font size (px)Numeric range control in the inspector. Range 11–24. block.json default: 16. Saved as `ctaFontSize`.
Stat number font size (px)Numeric range control in the inspector. Range 16–48. block.json default: 28. Saved as `statNumFontSize`.
Stat label font size (px)Numeric range control in the inspector. Range 10–18. block.json default: 13. Saved as `statLabelFontSize`.

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 Demo / Trial Section block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Demo / Trial Section”. It sits under Marketing. After insert, open Content and set “Badge Text”, “Heading”, “Subtext”, “CTA Mode”.

What makes Demo / Trial Section different from other Blockenberg blocks?

Book-a-Demo or Start-Free-Trial CTA section with trust pills, social-proof stats, and optional product screenshot. Inspector labels on this block include “Badge Text”, “Heading”, “Subtext”, “CTA Mode”.

Is the Demo / Trial Section Gutenberg block free?

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

Can I style Demo / Trial 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: Content, CTA, Trust Signals, Social Proof Stats).

Related marketing blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Demo / Trial Section from the Gutenberg inserter.

Get Blockenberg