[wordpress插件] Bamboo Columns竹柱

wordpress 插件 文章 2020-02-28 21:10 476 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This plugin provides several shortcodes for organising your content into multi-column layouts.

此插件提供了一些短代码,用于将您的内容组织成多列布局。

It supports two, three and four column layouts and allows for content to span multiple columns if required.

它支持两列,三列和四列布局,并在需要时允许内容跨越多列。

Usage

用法

Insert the required shortcodes into your content as follows:

将所需的简码插入到您的内容中,如下所示:

2 column layout:

2列布局:

 [column-half-1] 

  [column-half-1] 

First column of content 

第一栏内容 

[/column-half-1] 

[/ column-half-1] 

[column-half-2] 

[column-half-2] 

Second column of content 

第二栏内容 

[/column-half-2]

[/ column-half-2]

3 column layout:

3列布局:

 [column-third-1] 

  [column-third-1] 

First column of content 

第一栏内容 

[/column-third-1] 

[/ column-third-1] 

[column-third-2] 

[第3栏] 

Second column of content 

第二栏内容 

[/column-third-2] 

[/ columnthird-2] 

[column-third-3] 

[第3栏] 

Third column of content 

第三栏内容 

[/column-third-3]

[/ column-third-3]

4 Column layout:

4列布局:

 [column-quarter-1] 

  [column-quarter-1] 

First column of content 

第一栏内容 

[/column-quarter-1] 

[/ column-quarter-1] 

[column-quarter-2] 

[column-quarter-2] 

Second column of content 

第二栏内容 

[/column-quarter-2] 

[/ column-quarter-2] 

[column-quarter-3] 

[column-quarter-3] 

Third column of content 

第三栏内容 

[/column-quarter-3] 

[/ column-quarter-3] 

[column-quarter-4] 

[第四季栏] 

Fourth column of content 

第四栏内容 

[/column-quarter-4]

[/ column-quarter-4]

If you want content to span multiple columns you can combine the shortcodes to create a column spans multiple spaces, for example:

如果您希望内容跨越多个列,则可以组合短代码来创建跨越多个空格的列,例如:

 1 Third / 2 Thirds 

  1分之三/ 2分之三 

[column-third-1] 

[column-third-1] 

First column of content 

第一栏内容 

[/column-third-1] 

[/ column-third-1] 

[column-third-2-3] 

[第2-3列] 

Second column of content that spans the second and third columns 

内容的第二列,跨越第二列和第三列 

[/column-third-2-3] 

[/ column-third-2-3] 

1 Quarter / 2 Quarters / 1 Quarter 

1个季度/ 2个季度/ 1个季度 

[column-quarter-1] 

[column-quarter-1] 

First column of content 

第一栏内容 

[/column-quarter-1] 

[/ column-quarter-1] 

[column-quarter-2-3] 

[column-quarter-2-3] 

Second column of content that spans the second and third columns 

内容的第二列,跨越第二列和第三列 

[/column-quarter-2-3] 

[/ column-quarter-2-3] 

[column-quarter-4] 

[第四季栏] 

Third column of content that occupies the fourth quarter column 

第三列内容,占第四季度列 

[/column-quarter-4]

[/ column-quarter-4]

If you need to embed a set of columns within a column, you can do so by adding ‘inner-‘ to the shortcode as follows:

如果您需要在列中嵌入一组列,可以通过在短代码中添加“ inner-”,如下所示:

 [column-half-1]      

  [column-half-1]      

Some Text      

一些文字      

[inner-column-half-1]           

[inner-column-half-1]           

Some more text      

一些文字      

[/inner-column-half-1]      

[/ inner-column-half-1]      

[inner-column-half-2]           

[inner-column-half-2]           

Even more text      

甚至更多的文字      

[/inner-column-half-2] 

[/ inner-column-half-2] 

[/column half 1] 

[/第半栏1] 

[column-half-2]      

[column-half-2]      

The final text 

最后的文字 

[/column-half-2]

[/ column-half-2]

You can also change the background colour of a colour by adding an attribute to the shortcode as follows:

您还可以通过将属性添加到短代码中来更改颜色的背景颜色,如下所示:

 [column-half-1 background="e8e8e8"]

  [column-half-1 background =“ e8e8e8”]

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

e.g.

例如

    1. Upload noodle-columns to the /wp-content/plugins/ directory
    2. noodle-columns 上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

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

AI助手支持GPT4.0