Content · Gutenberg

Content Slider block for WordPress

Full-slide carousel with custom backgrounds per slide (color, gradient, or image) and rich text content.

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

Full-slide carousel with custom backgrounds per slide (color, gradient, or image) and rich text content.

Inspector panels on this block: Slides, Slider Settings. Those titles come from index.js, not from a shared template.

Behavior controls: “Background Type” options: Solid Color, Gradient, Image; “Content Alignment” options: Left, Center, Right; “Transition” options: Fade, Slide.

Where to find it

Gutenberg inserter → Content → search “Content Slider” (block name `blockenberg/content-slider` in block.json). Style it in the sidebar after insert.

How to use Content Slider block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Content Slider”, insert it. Category: Content.
  3. Configure inspector controls that exist on this block. Open Slides. Set “Background Type”, “Overlay Opacity”, “Heading”, “Subtext”.
  4. Check the published page. The view script reads HTML data attributes: data-autoplay, data-speed. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Background TypeSelect control; the chosen value is saved on the block. Options: Solid Color; Gradient; Image.
Overlay OpacityNumeric range control in the inspector. Range 0–90.
HeadingText field in the inspector.
SubtextMultiline text field in the inspector.
Show ButtonOn/off toggle in the inspector.
Button LabelText field in the inspector.
Button URLText field in the inspector.
Content AlignmentSelect control; the chosen value is saved on the block. Options: Left; Center; Right.
Height (px)Numeric range control in the inspector. Range 200–900. block.json default: 480. Saved as `height`.
Border Radius (px)Numeric range control in the inspector. Range 0–40. block.json default: 12. Saved as `borderRadius`.
TransitionSelect control; the chosen value is saved on the block. Options: Fade; Slide. block.json default: fade. Saved as `transition`.
AutoplayOn/off toggle in the inspector. On by default. Saved as `autoplay`.
Speed (ms)Numeric range control in the inspector. Range 1500–9000. block.json default: 4000. Saved as `speed`.
Show ArrowsOn/off toggle in the inspector. On by default. Saved as `showArrows`.
Show DotsOn/off toggle in the inspector. On by default. Saved as `showDots`.

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

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Content Slider”. It sits under Content. After insert, open Slides and set “Background Type”, “Overlay Opacity”, “Heading”, “Subtext”.

What makes Content Slider different from other Blockenberg blocks?

Full-slide carousel with custom backgrounds per slide (color, gradient, or image) and rich text content. Inspector labels on this block include “Background Type”, “Overlay Opacity”, “Heading”, “Subtext”.

Is the Content Slider Gutenberg block free?

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

Can I style Content Slider 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: Slides, Slider Settings).

Related content blocks

Get Blockenberg

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

Get Blockenberg