
內容簡介
Grid Block 是一款輕量級的 WordPress 外掛,提供網格容器和嵌套欄位區塊,讓使用者可以輕鬆設計響應式佈局,並調整不同裝置上的欄位寬度。
【主要功能】
• 提供輕量級網格容器
• 支援嵌套欄位區塊
• 可調整不同裝置的欄位寬度
• 獨立調整欄位和列間距
• 無需 JavaScript,使用小型樣式表
外掛標籤
開發者團隊
原文外掛簡介
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.
Run npm ci to install the exact JavaScript build tools from the included lockfile.
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.
