Block Editor: Reverse Columns on Mobile

説明

このプラグインは、ブロックエディターのカラム、横並び、縦積み、メディアとテキストブロックに「モバイルで順序を逆にする」オプションを追加します。

よくあるレイアウトの悩み: デスクトップでは左にテキスト右に画像を配置した2カラム構成にしているものの、モバイルでは縦に並ぶことで画像がテキストの下に表示されてしまうことがあります。このプラグインを使えばデスクトップのレイアウトはそのままに、モバイルでの縦並びの順序を逆にし画像を先に表示させることができます。

ブロック設定で「モバイルで順序を逆にする」を有効化するだけで、モバイル画面で要素の順序が自動的に調整されます。

このプラグインがお役に立ちましたら、ぜひ コーヒーをごちそうしてくださる☕ か、★★★★★のレビューを投稿 していただけるとうれしいです。大きな励みになります !

スクリーンショット

インストール

  1. プラグインをダウンロード。
  2. ダウンロードした zip ファイルを解凍します。
  3. block-editor-columns-reverse フォルダーを /wp-content/plugins/ ディレクトリにアップロードします。
  4. WordPress の「プラグイン」メニューからプラグインを有効化します。

FAQ

どのブロックに対応していますか ?

core/columnscore/group (Flexレイアウト)、および core/media-text ブロックに対応しています。

「モバイルで順序を逆にする」オプションを有効化するにはどうすればよいですか ?

ブロックエディターでカラム、横並び、縦積み、またはメディアとテキストブロックを選択し、サイドバーのブロック設定に移動します。そこで「モバイルで順序を逆にする」オプションが表示されます。

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”.

Does this plugin affect accessibility?

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.

モバイル表示に切り替わるブレークポイントはどこですか ?

モバイル表示のブレークポイントは 782px 未満に設定されており、core/columns ブロックで使用されているのと同じです。画面幅が781px 以下の場合、「モバイルで順序を逆にする」オプションを有効化すると、カラムの表示順が逆になります。

core/media-text ブロックのデフォルトのブレークポイントは600px 以下です。

評価

2025年12月19日
This plugin is exactly what I was looking for for my client's website. It adds perfect features to adapt blocks for mobile devices, making responsive design so much easier. I recommend this plugin 3000%! Not only does it work flawlessly, but the plugin creator is helpful when you have questions. The excellent support combined with the plugin's functionality makes this an absolute must-have. Definitely deserves all 5 stars!
2025年6月15日
A nice little plugin that only does what it needs to do. Very useful for anyone, who does not want to implement a custom solution or write the CSS code with some manually attached CSS class into their themes.
2025年1月20日
exactly as described: stacks columns on mobile view in reverse
5件のレビューをすべて表示

貢献者と開発者

Block Editor: Reverse Columns on Mobile はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Block Editor: Reverse Columns on Mobile” は1ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Block Editor: Reverse Columns on Mobile” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0.14

  • Fixed: Columns containing a block sized by aspect-ratio (Video, Embed, Cover, custom blocks) collapsed to zero height on mobile and overlapped the following section.

1.0.13

  • Improved: When a Row cannot wrap, the option is shown disabled with guidance on enabling “Allow to wrap to multiple lines” (moved in WordPress 7.1 to the Layout panel’s ⋮ menu, under “Wrapping”).
  • Support for 7.1.X.

1.0.12

  • Fixed: Columns block reverse effect was not visible in the editor due to Gutenberg adding is-nowrap class internally.
  • Support for 7.0.X.

1.0.11

  • Fixed: Column content overflow when padding is set on columns.

1.0.10

  • Fixed: Stack blocks now correctly reverse only on mobile, desktop layout remains unaffected.

1.0.9

  • Improved performance: CSS is now loaded only on pages using the reverse feature.
  • Support for 6.9.X.

1.0.8

  • Fixed: Group Row blocks with wrap disabled (nowrap) no longer display the “Reverse on mobile” option in settings.
  • Fixed: Group Row blocks with wrap enabled now use wrap-reverse to correctly reverse elements when they wrap to multiple lines.
  • Fixed: Horizontal alignment (left/right/center/space-between) is now preserved when Row blocks wrap.

1.0.7

  • Support for 6.8.X.

1.0.6

  • Refactor responsive styles.
  • Add support for core/media-text breakpoint (<= 600px).

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.