Marketing · Gutenberg

Ebook Section block for WordPress

Digital product and ebook showcase with 3D book cover, feature list, social proof, and CTA.

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

Digital product and ebook showcase with 3D book cover, feature list, social proof, and CTA.

Inspector panels on this block: Content, What\'s Inside List, Testimonial, CTA Button, Layout & Style. Those titles come from index.js, not from a shared template.

Behavior controls: “Format” options: PDF, EPUB, Course, Template, Toolkit; “Layout” options: Split (cover left), Centered, Minimal (no cover).

Where to find it

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

How to use Ebook 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 “Ebook Section”, insert it. Category: Marketing.
  3. Configure inspector controls that exist on this block. Open Content. Set “Author Name”, “Format”, “Custom Format Label (override)”, “Page Count / Size”.
  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
Author NameText field in the inspector. Saved as `authorName`.
FormatSelect control; the chosen value is saved on the block. Options: PDF; EPUB; Course; Template; Toolkit; Guide; Checklist. block.json default: pdf. Saved as `format`.
Custom Format Label (override)Text field in the inspector. Saved as `formatLabel`.
Page Count / SizeText field in the inspector. block.json default: 120 pages. Saved as `pageCount`.
PriceText field in the inspector. block.json default: Free. Saved as `price`.
Original Price (crossed out)Text field in the inspector. Saved as `originalPrice`.
Show TestimonialOn/off toggle in the inspector. On by default. Saved as `showTestimonial`.
QuoteMultiline text field in the inspector. block.json default: This handbook cut our time-to-rank in half. Absolutely essential.. Saved as `testimonialQuote`.
NameText field in the inspector. block.json default: Sarah K., Marketing Director. Saved as `testimonialName`.
Button TextText field in the inspector. block.json default: Download Free →. Saved as `ctaLabel`.
Button URLText field in the inspector. block.json default: #. Saved as `ctaUrl`.
Open in New TabOn/off toggle in the inspector. Off by default. Saved as `openInNewTab`.
LayoutSelect control; the chosen value is saved on the block. Options: Split (cover left); Centered; Minimal (no cover). block.json default: split. Saved as `layout`.
3D Cover Tilt EffectOn/off toggle in the inspector. On by default. Saved as `show3D`.
Border RadiusNumeric range control in the inspector. Range 0–24. block.json default: 12. Saved as `borderRadius`.
Padding TopNumeric range control in the inspector. Range 0–160. block.json default: 60. Saved as `paddingTop`.
Padding BottomNumeric range control in the inspector. Range 0–160. block.json default: 60. Saved as `paddingBottom`.
Typography — TitleShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoTitle`.
SubtitleShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoSubtitle`.
Price (Typo Price)Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoPrice`.
CTA ButtonShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoCta`.
Section BGColor control in the inspector. block.json default: #f0f4ff. Saved as `bgColor`.
Colors — TitleColor control in the inspector. block.json default: #111827. Saved as `titleColor`.
SubtitleColor control in the inspector. block.json default: #374151. Saved as `subtitleColor`.
Author / MetaColor control in the inspector. block.json default: #6b7280. Saved as `authorColor`.
Format Badge BGColor control in the inspector. block.json default: #6366f1. Saved as `formatBadgeBg`.
Format Badge TextColor control in the inspector. block.json default: #ffffff. Saved as `formatBadgeColor`.
Feature Item TextColor control in the inspector. block.json default: #374151. Saved as `itemColor`.
Testimonial BGColor control in the inspector. block.json default: #ffffff. Saved as `testimonialBg`.
Testimonial TextColor control in the inspector. block.json default: #374151. Saved as `testimonialColor`.
Quote MarkColor control in the inspector. block.json default: #6366f1. Saved as `quoteColor`.
CTA Button BGColor control in the inspector. block.json default: #6366f1. Saved as `ctaBg`.
CTA Button TextColor control in the inspector. block.json default: #ffffff. Saved as `ctaColor`.
PriceColor control in the inspector. block.json default: #16a34a. Saved as `priceColor`.
Orig PriceColor control in the inspector. block.json default: #9ca3af. Saved as `origPriceColor`.
Cover ShadowColor control in the inspector. block.json default: #6366f160. Saved as `coverShadow`.

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

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Ebook Section”. It sits under Marketing. After insert, open Content and set “Author Name”, “Format”, “Custom Format Label (override)”, “Page Count / Size”.

What makes Ebook Section different from other Blockenberg blocks?

Digital product and ebook showcase with 3D book cover, feature list, social proof, and CTA. Inspector labels on this block include “Author Name”, “Format”, “Custom Format Label (override)”, “Page Count / Size”.

Is the Ebook Section Gutenberg block free?

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

Can I style Ebook 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, What\'s Inside List, Testimonial, CTA Button).

Related marketing blocks

Get Blockenberg

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

Get Blockenberg