[wordpress插件] 1180px Shortcodes1180px简码

wordpress 插件 文章 2020-01-20 16:20 631 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

The 1180 grid system is a 12-column grid, so all column spans must add up to 12.

1180网格系统是12列网格,因此所有列跨度必须加起来为12。

For example, you can gave [span col=”8″] and [span col=”4″] in the same row,

例如,您可以在同一行中给[span col =” 8”]和[span col =“ 4”],

or you can have three [span col=”4″] for a 3-column layout.

否则,您可以为3列布局设置三个[span col =” 4”]。

To keep things well spaced out, and for automatic clearing of the floated columns, wrap

为使内容间隔开并自动清除浮动的列,请包装

your span shortcodes in a row shortcode like the example below.

像下面的示例一样,将您的跨度简码排成一行。

Example 3 column grid

示例3列网格

[row]    

  [行]    

[span col="4"]        

[span col =“ 4”]        

Column One    

第一栏    

[/span4]    

[/ span4]    

[span4 col="4"]        

[span4 col =“ 4”]        

Column Two    

第二栏    

[/span4]    

[/ span4]    

[span4 col="4"]        

[span4 col =“ 4”]        

Column Three    

第三栏    

[/span4]

[/ span4]

[ow]

[/行]

Adding classes to the row

将类添加到该行

You can add optional classes to the row shortcode.

您可以将可选类添加到行短代码中。

You can also set the class to flexbox,

您还可以将类设置为flexbox,

for full flexbox support in browsers.

在浏览器中完全支持flexbox。

If the browser does not support flexbox, it will

如果浏览器不支持flexbox,它将

fallback to floats.

后退到浮动。

Examples

示例

[row class="flexbox"]

  [row class =“ flexbox”]

[row class="flexbox someOtherClass anotherClass"]

[row class =“ flexbox someOtherClass anotherClass”]

安装步骤

    1. Upload plugin-name.php to the /wp-content/plugins/ directory
    2. plugin-name.php 上载到 / wp-content / plugins / 目录

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

下载地址

https://downloads.wordpress.org/plugin/1180px-shortcodes.zip

https://downloads.wordpress.org/plugin/1180px-shortcodes.zip

-EOF-

AI助手支持GPT4.0