Plugin Name
开发者 |
tristanchambers
|
更新时间 |
2012年9月8日 00:24 |
捐献地址: |
去捐款 |
PHP版本: |
3.0 及以上 |
WordPress版本: |
3.4 |
版权: |
GPLv2 or later |
版权网址: |
版权信息
|
详情介绍:
Columnizer is a jQuery based Wordpress plugin that formats your content into columns. 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. Curabitur fringilla...consectetur arcu. Proin id...pretium eros. 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. Other column plugins need you to divvy up the content between sets of tags. Columnizer does it for you!
To customize the margins between columns edit columnizer.css. Alternatively you could override the rules in your own css file by adding an extra level of hierarchy. Something like this:
#main #columnizer .first div { margin-right: 8px; /*changed spacing to 8px*/ margin-left: 0 !important; } #main #columnizer .last div { margin-left: 8px; /*changed spacing to 8px*/ margin-right: 0 !important; } #main #columnizer .column div { margin-left: 8px; /*changed spacing to 8px*/ margin-right: 8px; /*changed spacing to 8px*/ border-left: 1px solid grey; /*new rule to add slick dividers*/ border-right: 1px solid grey; /*new rule to add slick dividers*/ }
WP Columnizer is based on the jQuery plugin "Columnizer" by Adam Wulf.
安装:
To install the plugin simply download the zip file. Then extract the directory into wp-content/plugins/ Next go to the plugins page on the Wordpress admin panel and enable Columnizer. Once enabled you may begin using the plugin by inserting sets of short codes in your content.