跳到内容

Responsive Block Controls

v2.0.0

Specia1ne · 2025年5月14日 上架

Add responsive layout and spacing controls to native Gutenberg blocks — no custom blocks or builder lock-in.

正在使用
50+
评分
暂无
累计下载
2,548
最近更新
2026年11月7日
需要 WordPress 6.4+已测试到 7.1.5PHP 7.4+

贡献者

截图

Columns block with native desktop columns alongside responsive layout and gap controls.
Columns block with native desktop columns alongside responsive layout and gap controls.
Columns block tablet preview with inherited spacing and per-breakpoint column controls.
Columns block tablet preview with inherited spacing and per-breakpoint column controls.
Columns block mobile preview with a single-column layout and mobile gap overrides.
Columns block mobile preview with a single-column layout and mobile gap overrides.
Spacer block with tablet and mobile height overrides, including editor resizing.
Spacer block with tablet and mobile height overrides, including editor resizing.
Custom-width Columns layout with responsive gap controls on the parent Columns block.
Custom-width Columns layout with responsive gap controls on the parent Columns block.
Child Column block with responsive width and order controls for custom-width Columns layouts.
Child Column block with responsive width and order controls for custom-width Columns layouts.
Gallery block desktop preview with native columns and responsive layout controls.
Gallery block desktop preview with native columns and responsive layout controls.
Gallery block tablet preview with responsive columns and inherited gap settings.
Gallery block tablet preview with responsive columns and inherited gap settings.

Adjust layouts, spacing, widths and heights for different screen sizes directly in the WordPress block sidebar. Responsive Block Controls extends native Gutenberg blocks without a page builder or replacement blocks.

Why use it?

  • Keep your native blocks, patterns and template parts.
  • Reuse desktop and responsive layouts with named presets.
  • Keep theme defaults unless you override them. Removing the plugin does not delete your content.

Supported blocks

  • Columns — columns per row, gaps and custom widths.
  • Column — width and order for each screen size, with Custom widths enabled on its parent.
  • Query Loop (Post Template grid) — columns, minimum column width, gaps and optional Masonry.
  • Gallery — columns and gaps.
  • Spacer — tablet and mobile heights.
  • Media & Text — side-by-side or stacked layouts, stacked order and media width.
  • Cover — minimum height for four tablet and mobile screen sizes.

How it works

Settings stay on native WordPress blocks. The plugin adds styles for supported layout properties; it does not add replacement blocks or extra content wrappers. Your theme provides defaults unless you override them with the controls or apply a preset.

Editor experience

  • Controls appear in the sidebar for supported blocks.
  • Most blocks offer four tablet and mobile breakpoints. Spacer uses Tablet and Mobile.
  • Gap, Cover height and Media & Text settings inherit wider values until overridden.
  • Plugin gap and height controls support px, rem and em.
  • Column width and order can be set separately for each breakpoint.
  • Media & Text retains saved widths when switching between stacked and side-by-side layouts.
  • Reset affects the current setting and breakpoint, not the whole block.

Layout presets

Save desktop and responsive layout settings once, then reuse them on compatible native blocks on any page. Preset controls are inside each block’s existing responsive panel.

  • Enable responsive controls, then choose Save as preset below the settings and enter a name. Spacer needs no mode switch. Presets are created by you, not supplied automatically.
  • The selector sits below the mode switch and shows presets for the current block type, even with the mode off. Choose one and click Apply; selection alone changes nothing.
  • Presets include supported desktop and responsive settings. Content, media, block structure and unrelated styles are kept. Apply supports Undo and leaves incompatible blocks unchanged.
  • The top actions menu offers copy, rename, update, delete and JSON import/export. Compatible blocks show Paste settings near the preset selector. These actions remain available with the mode off, except copying or updating from inactive controls.
  • Users allowed to edit theme settings can manage presets; other content editors can apply them. You can also apply a preset to multiple selected blocks from their options menu.
  • Applied settings are independent copies. Editing or deleting a preset does not update blocks that used it.

WordPress 7.1 responsive styles

WordPress 7.1 responsive settings and the plugin’s four-breakpoint settings are stored separately.

  • Enable “Use 4 breakpoints” for separate tablet landscape, tablet portrait, mobile landscape and mobile portrait settings. Leave it off to use WordPress behavior.
  • The editor warns about overlapping settings. Plugin columns and gaps take priority at its breakpoints. Custom Cover heights also override WordPress height and aspect ratio where set.
  • Switching back keeps both sets of values. Unrelated WordPress styles, such as typography and padding, continue to work.

Accessibility and localization

  • Inspector controls are keyboard accessible and labeled for screen readers.
  • Strings are translation-ready via the responsive-columns text domain.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums