Content · Gutenberg

Media & Text Rows block for WordPress

Repeatable alternating image-and-text rows — each row independently flippable. Classic landing-page pattern for feature breakdowns and storytelling.

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

Repeatable alternating image-and-text rows — each row independently flippable. Classic landing-page pattern for feature breakdowns and storytelling.

Inspector panels on this block: Layout, Button, Rows, Row accent. Those titles come from index.js, not from a shared template.

Behavior controls: “Button style” options: Solid fill, Outlined, Text link.

Media & Text Rows has no render.php and no frontend.js. The saved Gutenberg HTML is what visitors see, plus Blockenberg layout/typography CSS.

Where to find it

Gutenberg inserter → Content → search “Media & Text Rows” (block name `blockenberg/media-text` in block.json). Style it in the sidebar after insert.

How to use Media & Text Rows block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Media & Text Rows”, insert it. Category: Content.
  3. Configure inspector controls that exist on this block. Open Layout. Set “Image width (%)”, “Column gap (px)”, “Row gap (px)”, “Image border radius (px)”.
  4. Publish. Save the page. Output is the saved block HTML; typography/colors follow Blockenberg shared panels.

Inspector controls from this block’s code

ControlWhat the code does
Image width (%)Numeric range control in the inspector. Range 30–70. block.json default: 50. Saved as `imageWidthPercent`.
Column gap (px)Numeric range control in the inspector. Range 16–160. block.json default: 64. Saved as `columnGap`.
Row gap (px)Numeric range control in the inspector. Range 0–200. block.json default: 80. Saved as `rowGap`.
Image border radius (px)Numeric range control in the inspector. Range 0–48. block.json default: 12. Saved as `imageRadius`.
Image shadowOn/off toggle in the inspector. On by default. Saved as `imageShadow`.
Show eyebrowOn/off toggle in the inspector. On by default. Saved as `showEyebrow`.
Show buttonOn/off toggle in the inspector. On by default. Saved as `showButton`.
Button styleSelect control; the chosen value is saved on the block. Options: Solid fill; Outlined; Text link. block.json default: solid. Saved as `btnStyle`.
Button border radius (px)Numeric range control in the inspector. Range 0–50. block.json default: 8. Saved as `btnBorderRadius`.
Padding top (px)Numeric range control in the inspector. Range 0–200. block.json default: 64. Saved as `paddingTop`.
Padding bottom (px)Numeric range control in the inspector. Range 0–200. block.json default: 64. Saved as `paddingBottom`.
EyebrowColor control in the inspector. block.json default: #6c3fb5. Saved as `eyebrowColor`.
Colors — TitleColor control in the inspector. block.json default: #111827. Saved as `titleColor`.
DescriptionColor control in the inspector. block.json default: #4b5563. Saved as `descColor`.
Button backgroundColor control in the inspector. block.json default: #6c3fb5. Saved as `btnBg`.
Button textColor control in the inspector. block.json default: #ffffff. Saved as `btnColor`.
Section backgroundColor control in the inspector. Saved as `bgColor`.
Flip (image on right)On/off toggle in the inspector.
EyebrowText field in the inspector.
Rows — TitleText field in the inspector.
DescriptionMultiline text field in the inspector.
Button labelText field in the inspector.
Button URLText field in the inspector.
Open in new tabOn/off toggle in the inspector.
Accent / Button colorColor control in the inspector.

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 Media & Text Rows block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Media & Text Rows”. It sits under Content. After insert, open Layout and set “Image width (%)”, “Column gap (px)”, “Row gap (px)”, “Image border radius (px)”.

What makes Media & Text Rows different from other Blockenberg blocks?

Repeatable alternating image-and-text rows — each row independently flippable. Classic landing-page pattern for feature breakdowns and storytelling. Inspector labels on this block include “Image width (%)”, “Column gap (px)”, “Row gap (px)”, “Image border radius (px)”.

Is the Media & Text Rows Gutenberg block free?

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

Can I style Media & Text Rows 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: Layout, Button, Rows, Row accent).

Related content blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Media & Text Rows from the Gutenberg inserter.

Get Blockenberg