[wordpress插件] Columnizer柱化器

wordpress 插件 文章 2020-03-27 23:51 561 0 全屏看文

AI助手支持GPT4.0

评分
80
描述

Columnizer is a jQuery based WordPress plugin that formats your content into columns.

Columnizer是基于jQuery的WordPress插件,可将您的内容格式化为列。

All you need to do is embrace your content in a single set of shortcodes denoting the number of columns you’d like.

您需要做的就是将您的内容包含在一组短代码中,这些短代码表示您想要的列数。

Like this:

像这样:

[threecolumns]

  [三个列]

Lorem ipsum...vitae nunc.

Lorem ipsum ...简历。

Curabitur fringilla...consectetur arcu.

Curabitur fringilla ... consectetur arcu。

Proin id...pretium eros.

Proin id ... pretium色情。

etc...

等等...

[/threecolumns]

[/三个列]

The rest is taken care of for you.

其余的一切都由您负责。

Just write out the number of columns (up to twelve) followed by the word ‘columns’ with no space (as above) and your column formatting needs will be satisfied most splendidly.

只需写出列数(最多十二列),然后写上没有空格的“ columns”(如上),就可以最出色地满足您对列格式的需求。

Other column plugins need you to divvy up the content between sets of tags.

其他列插件需要您在标签集之间划分内容。

Columnizer does it for you!

Columnizer为您做到了!

To customize the margins between columns edit columnizer.css.

要自定义列之间的边距,请编辑 columnizer.css

Alternatively you could override the rules in your own css file by adding an extra level of hierarchy.

另外,您可以通过添加额外的层次结构来覆盖自己的CSS文件中的规则。

Something like this:

像这样:

#main #columnizer .first div {    

  #main #columnizer .first div {    

margin-right: 8px;

右边距:8px;

/*changed spacing to 8px*/    

/ *将间距更改为8px * /    

margin-left: 0 !important;

左边距:0!重要;

}

}

#main #columnizer .last div {    

#main #columnizer .last div {    

margin-left: 8px;

左边距:8px;

/*changed spacing to 8px*/    

/ *将间距更改为8px * /    

margin-right: 0 !important;

右边距:0!重要;

}

}

#main #columnizer .column div {    

#main #columnizer .column div {    

margin-left: 8px;

左边距:8px;

/*changed spacing to 8px*/    

/ *将间距更改为8px * /    

margin-right: 8px;

右边距:8px;

/*changed spacing to 8px*/        

/ *将间距更改为8px * /        

border-left: 1px solid grey;

左边框:1px纯灰色;

/*new rule to add slick dividers*/        

/ *添加光滑分隔线的新规则* /        

border-right: 1px solid grey;

右边框:1px纯灰色;

/*new rule to add slick dividers*/

/ *添加光滑分隔线的新规则* /

}

}

WP Columnizer is based on the jQuery plugin “Columnizer” by Adam Wulf.

WP Columnizer基于Adam Wulf的jQuery插件“ Columnizer”。

安装步骤

To install the plugin simply download the zip file.

要安装插件,只需下载zip文件。

Then extract the directory into wp-content/plugins/ Next go to the plugins page on the WordPress admin panel and enable Columnizer.

然后将目录提取到wp-content / plugins /中。接下来转到WordPress管理面板上的plugins页面并启用Columnizer。

Once enabled you may begin using the plugin by inserting sets of short codes in your content.

启用后,您可以通过在内容中插入几组短代码来开始使用该插件。

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

AI助手支持GPT4.0