這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

FF Block Advanced Columns

描述

With FF Block Advanced Columns you get more control about the width per breakpoint of each column. The default columns block you can use in the editor is extended as such:

  • Columns are labelled as an advanced column (in the editor interface only). This label enables you to select the corresponding column.
  • When you have selected a column, you can set the widths per breakpoint in the sidebar of the editor.
  • On save, this plugin adds CSS classes to the columns block and its columns. See more about this below.

Column widths

Please note that it currently is not yet possible to select all options for each breakpoint.
When you save your page or post, CSS classes are added to each column that enables you to specify the width per breakpoint. The classnames are as follows:

1/12
u-1/12@md, and/or u-1/12@lg

2/12
u-2/12@md, and/or u-2/12@lg

3/12
u-3/12@md, and/or u-3/12@lg

4/12
u-4/12@sm, u-4/12@md, and/or u-4/12@lg

5/12
u-5/12@md, and/or u-5/12@lg

6/12
u-6/12@xs, u-6/12@sm, u-6/12@md, and/or u-6/12@lg

7/12
u-7/12@md, and/or u-7/12@lg

8/12
u-8/12@md, and/or u-8/12@lg

9/12
u-9/12@md, and/or u-9/12@lg

10/12
u-10/12@md, and/or u-10/12@lg

11/12
u-11/12@md, and/or u-11/12@lg

12/12
u-12/12@xs, u-12/12@sm, u-12/12@md, and/or u-12/12@lg

inherit
Instead of adding a CSS class for the corresponding breakpoint, the same value used for the previous breakpoint is inherited. For example: selecting ‘6/12’, ‘inherit’, ‘3/12’, and ‘inherit’ for the breakpoints extra-small, small, medium and large, respectively, will result in the classes u-6/12@xs u-3/12@md being added to a column.

螢幕截圖

  • Each column in your page or post is labelled as an advanced column.
  • When a column is selected, you can set the width per breakpoint in the sidebar.

Blocks

This plugin provides 1 block.

  • frisfruitig/block-advanced-columns

安裝

  1. Upload the plugin files to the /wp-content/plugins/ff-block-advanced-columns directory of your site or blog, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

常見問題

Does this plugin work with the old editor?

No. It is developed specifically for the new editor. Currently, there are no plans to support the old editor in any way.

評價

There are no reviews for this plugin.

貢獻者及開發者

“FF Block Advanced Columns” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 FF Block Advanced Columns 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.1

  • Made column controls easily available in WordPress 5.2

1.0.0

  • This is our first release.