跳到内容

Grid Block

v1.2.1

digitalapps · 2019年2月23日 上架

Create responsive 12-column layouts with per-breakpoint column widths.

正在使用
20+
评分
暂无
累计下载
2,409
最近更新
2026年9月5日
需要 WordPress 6.6+已测试到 7.1.5PHP 7.4+

贡献者

截图

Choose a starting grid layout.
Choose a starting grid layout.
Build a three-column layout with nested blocks and adjust the grid gaps.
Build a three-column layout with nested blocks and adjust the grid gaps.
Adjust a column width for each responsive breakpoint.
Adjust a column width for each responsive breakpoint.

Grid Block adds a lightweight grid container and nested column block to the WordPress editor. Choose a starting layout, place any blocks inside each column, and adjust column widths for desktop, laptop, tablet, and mobile breakpoints.

Select the Grid Block and open Grid gap in its settings to adjust the column and row spacing independently. Use px, rem, or em units, set either gap to zero, or reset to the original 30px column gutter and 0px row gap. Row spacing also applies when columns stack on smaller screens.

The frontend uses a small local stylesheet and no JavaScript. The plugin does not create options, collect personal data, or contact external services.

Existing content created with Grid Block 1.0.x remains supported. The original grid-block/grid and grid-block/grid-column block names and frontend class names are preserved.

Development

Human-readable block source is included in the src directory.

  1. Run npm ci to install the exact JavaScript build tools from the included lockfile.
  2. Run npm run build to create production assets in build.

The build requires Node.js 20 or newer and npm 10 or newer. Build tools are development dependencies and are not loaded by WordPress.

Plums

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

导航

说明

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

© 2026 Plums