| 开发者 | mickaellrg |
|---|---|
| 更新时间 | 2026年8月25日 00:19 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
block-editor-columns-reverse folder to the /wp-content/plugins/ directory.The core/columns, core/group (flex layouts), and core/media-text blocks are supported.
In the block editor, select a Columns, Row, Stack or Media & Text block, then go to the block settings in the sidebar. You will see an option to "Reverse on Mobile". Note: For Row blocks, the option only takes effect once "Allow to wrap to multiple lines" is enabled in the Layout settings, since a single-line row has nothing to reverse. In WordPress 7.1 that setting is hidden by default: open the ⋮ menu of the Layout panel and tick "Wrapping".
This plugin changes the visual order of blocks on mobile using CSS, but does not change the DOM order. Screen readers and keyboard navigation follow the DOM order, not the visual order. For purely decorative reordering (image + text), this is generally not an issue. For content where order has semantic meaning (numbered steps, forms), use with caution.
The mobile view breakpoint is set at less than 782px, matching the one used for the core/columns block. When the screen width is 781px or smaller, columns will reverse their order if the "Reverse on Mobile" option is enabled.
For the core/media-text block, the default breakpoint is 600px or below.
is-nowrap class internally.wrap-reverse to correctly reverse elements when they wrap to multiple lines.core/media-text breakpoint (<= 600px).core/group when the layout is undefined.core/media-text block.