该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

byBrick Columns

描述

A small but simple plugin that enables shortcode support to create columns directly in your posts/pages.

This plugin enables you to divide content in the TinyMCE editor into columns that are either one half, one third, two third, three fourth, one fourth, one fifth, two fifth, three fifth, four fifth, one sixth or five sixth wide.

安装

It’s quite simple;

  1. Upload the ‘bybrick-columns’ folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. ???
  4. Profit!

常见问题

How does this work?

This plugin enables you to use short codes right in the TinyMCE editor when writing a post and/or page.

For example: If you’d like to divide your content into two columns you would type:

[one_half] This is the left column [/one_half] [one_half_last] This is the right collumn [/one_half_last]

Remember to “close” your short code, just as you would with HTML. Also; did you see the ‘_last’ add there? That’s REALLY important as it will remove the margin on the right side. If you forget it, your columns won’t work.

How about another example?

[two_third] This area is two thirds wide [/two_third] [one_third_last] This is some more content [/one_third_last]

You can combine the available sizes any how you’d like, just as long as the math adds up.

How do I know these columns width will fit my theme?

All width is percentage based, so you should be safe!

评价

此插件暂无评价。

贡献者及开发者

“byBrick Columns” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“byBrick Columns”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.4

  • Fixed a headers already sent error.
  • Columns now stack the way they are supposed to when screen width is smaller than 767px.
  • This plugin now fixes that empty

tag that TinyMCE sometimes adds.

1.3

  • This plugin now features a button that hooks right onto your TinyMCE editor. Click the button, enter the desired number of columns and voilá! No need to enter the shortcodes by hand ever again (if you wish to use something, for example, like [four_fifth] you’ll still need to enter those by hand). Oh; and the CSS file is now minified.

1.2

  • Fixed a bug with [one_fourth] columns not working. Thanks jmd4eva for noticing.

1.1

  • Added support for responsive wed design. Meaning; any columns you’ve created will wrap below each other and be 100% width if the screen width is a minimum of 480px (standard iPhone in landscape mode).

1.0

  • Launch baby, launch!