Description
This plugin adds a « Reverse on Mobile » option to the Columns, Row, Stack and Media & Text blocks in the WordPress Gutenberg block editor. This option allows you to reorder columns in mobile view for better presentation.
Captures d’écran
Installation
- Download the plugin.
- Unzip the downloaded file.
- Upload the
block-editor-columns-reverse
folder to the/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
FAQ
-
Which blocks are supported?
-
The
core/columns
,core/group
(flex layouts), andcore/media-text
blocks are supported. -
How do I enable the « Reverse on Mobile » option?
-
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 ».
-
What is the breakpoint for the mobile view?
-
The breakpoint for the mobile view is set at less than 782px, aligning with the breakpoint used for the
core/columns
block. When the screen width is 781px or below, columns will reverse their order if the « Reverse on Mobile » option is enabled.
Contributeurs & développeurs
« Block Editor: Reverse Columns on Mobile » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
ContributeursTraduisez « Block Editor: Reverse Columns on Mobile » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Historique des changements
1.0.5
- Removed the ‘Reverse on mobile’ option in core/group when the layout is undefined.
1.0.4
- Fix: Resolved the issue where ‘Reverse on mobile’ always stacked elements on mobile, even when ‘Stack on mobile’ was turned off.
- Separated CSS for front-end and editor.
1.0.3
- Added support for
core/media-text
block. - Removed the option when the group block is in the default constrained layout.
1.0.2
- Improvements to avoid potential conflicts with third-party code.
1.0.1
- Support for 6.7.X.
- Update text domain for i18n consistency.
1.0.0
- Initial release of the plugin.