[wordpress插件] Columns列

wordpress 插件 文章 2020-03-28 00:10 467 0 全屏看文

AI助手支持GPT4.0

评分
82
描述

Create a column group with the [column-group] shortcode, then add columns to the group with the [column] shortcode, like this:

使用 [column-group] 短代码创建一个列组,然后使用 [column] 短代码将列添加到该组中,如下所示:

[column-group]    

  [column-group]    

[column]This is my first column[/column]    

[专栏]这是我的第一专栏[/专栏]    

[column]This is my second column[/column]

[专栏]这是我的第二专栏[/专栏]

[/column-group]

[/ column-group]

You can also span columns, like this:

您还可以像这样跨列:

[column-group]    

  [column-group]    

[column span="2"]This is my first column spanned across two columns.[/column]    

[column span =“ 2”]这是我的第一列,横跨两列。[/ column]    

[column]This is my second column[/column]    

[专栏]这是我的第二专栏[/专栏]    

[column]This is my third column[/column]

[专栏]这是我的第三专栏[/专栏]

[/column-group]

[/ column-group]

The first column will be twice as large as the second or third.

第一列将是第二列或第三列的两倍。

Styles are in columns.css.

样式在column.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.

如果您想使用自己的边距和东西,请在 wp_enqueue_scripts 期间以11或更高的优先级出列column.css样式。

安装步骤

    1. Download archive and unzip in wp-content/plugins or install via Plugins – Add New.
    2. 下载存档并解压缩到wp-content / plugins或通过Plugins – Add New安装。

    3. Start using the [column-group] and [column] shortcodes.
    4. 开始使用 [column-group] [column] 短代码。

下载地址
https://downloads.wordpress.org/plugin/columns.0.7.3.zip
-EOF-

AI助手支持GPT4.0