
內容簡介
使用 [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 樣式。
外掛標籤
開發者團隊
原文外掛簡介
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.
