內容簡介
總結:這個 WordPress 外掛讓您不再需要猜測手機上會顯示多少欄位,Responsive Columns 可以在核心區塊檢查器內設定精確的欄位數。
1. 這個 WordPress 外掛的主要功能是什麼?
- Responsive Columns 讓您可以在四個斷點中設定確切的欄位數,包括桌面、平板橫向、平板縱向和手機。
2. 您可以在每個斷點中選擇多少欄位?
- 每個斷點可以選擇 1 到 6 個欄位。
3. 這個外掛有哪些主要功能?
- 可以根據不同斷點設定欄位數、有主題感知的間隙、支援磚塊佈局和核心/Columns 和核心/Post Template。
4. 這個外掛如何運作?
- 外掛添加一個 class has-s1-rc-columns 和多個 CSS 變數,根據裝置不同設定不同的欄位數及間隙。
5. 當停用這個外掛時,會發生什麼情況?
- 當停用外掛時,一切將優雅地返回到默認區塊的行為。
外掛標籤
開發者團隊
原文外掛簡介
Responsive Block Controls adds practical responsive controls to supported native Gutenberg blocks. Adjust layouts, spacing, column widths, Query Loop grids, Gallery columns, and Spacer heights without replacing core blocks or moving content into a page builder.
Native WordPress blocks are fast, portable, and theme-friendly, but responsive layout tweaks often still require custom CSS, duplicated blocks, or a full page builder. This plugin keeps your content in native blocks and adds the missing breakpoint controls directly in the block inspector.
Why use it?
Add responsive controls to supported native Gutenberg blocks.
Keep existing core blocks, patterns, synced patterns, reusable blocks, and template parts.
Avoid extra builder markup, shortcodes, and content lock-in.
Adjust columns, gaps, custom widths, order, Query Loop grids, Gallery layouts, and Spacer heights from the editor sidebar.
Preserve desktop behavior and theme spacing defaults unless you override them.
Remove the plugin without breaking the saved content structure.
Supported blocks
Support is added block by block. In this version, responsive controls are available for:
core/columns — responsive column counts, gap controls, and custom-width mode.
core/column — per-breakpoint width and order controls when custom-width mode is enabled on the parent Columns block.
core/post-template inside Query Loop — manual column controls, auto-fit minimum width, responsive gaps, and optional Masonry for supported fixed-column grids.
core/gallery — responsive columns and gap controls while keeping the native Gallery block.
core/spacer — tablet and mobile height overrides while keeping the native desktop Spacer height.
How it works
The plugin stores settings as native block attributes and renders a small set of CSS classes and custom properties. It does not register replacement layout blocks and does not wrap your content in custom frontend markup.
Your theme stays in control of the base layout. Responsive Block Controls only applies supported responsive values at the configured breakpoints. If the plugin is removed, WordPress ignores the extra attributes and the blocks fall back to their normal core behavior.
Editor experience
Responsive controls appear only when the selected block is supported.
Breakpoint tabs follow desktop, tablet, and mobile editing workflows.
Smaller breakpoints inherit from larger breakpoints until you override them.
Gap controls support px, rem, and em values with predictable reset behavior.
Custom-width Columns layouts support per-column width and simple order controls.
Query Loop grids support manual columns, auto-fit minimum width, and Masonry guidance where available.
Spacer height can be customized for tablet and mobile previews.
Theme spacing defaults are detected when possible.
Accessibility and localization
Inspector controls are keyboard accessible and labeled for screen readers.
Strings are translation-ready via the responsive-columns text domain.
