[WordPress] 外掛分享: Columns

首頁外掛目錄 › Columns
WordPress 外掛 Columns 的封面圖片
3,000+
安裝啟用
★★★★
4.1/5 分(22 則評價)
3031 天前
最後更新
問題解決
WordPress 4.4+ v0.7.3 上架:2013-04-15

內容簡介

使用 [column-group] 短碼建立欄位群組,然後使用 [column] 短碼將欄位添加到群組中,如下所示:

[column-group]
[column]這是我的第一列[/column]
[column]這是我的第二列[/column]
[/column-group]

您還可以跨列,如下所示:

[column-group]
[column span="2"]這是跨越兩列的第一列。[/column]
[column]這是我的第二列[/column]
[column]這是我的第三列[/column]
[/column-group]

第一列將比第二列或第三列大兩倍。

樣式在 columns.css 文件中。如果您想要自己的邊距等樣式,請在 wp_enqueue_scripts期間使用優先級為11或更高的方式移除 columns.css 樣式。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.7.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Columns」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Create a column group with the [column-group] shortcode, then add columns to the group with the [column] shortcode, like this:
[column-group]
[column]This is my first column[/column]
[column]This is my second column[/column]
[/column-group]

You can also span columns, like this:
[column-group]
[column span="2"]This is my first column spanned across two columns.[/column]
[column]This is my second column[/column]
[column]This is my third column[/column]
[/column-group]

The first column will be twice as large as the second or third.
Styles are in columns.css. If you’d like your own margins and stuff, dequeue the columns.css style during wp_enqueue_scripts with a priority of 11 or more.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon