這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Column-Matic

外掛說明

Column-Matic easily inserts columns into posts and pages by wrapping content with a snappy shortcode. Useful for sites with a magazine or newspaper style layout, Column-Matic shortcode wraps content in cozy columns. Content can also be separated so that text and images are displayed on opposite sides of a post or page. Visit the Twinpictures Plugin Oven | Colum-Matic | Documentation for a complete listing of shortcode options, even a few examples that might delight and even inform. Free Community Support is available.

螢幕擷圖

  • Example 1: two columns—column 1 is assigned a width of 180px, column 2 a width of 120px. Both columns are assigned a padding of 10px.
  • Example 2: three columns w/ class attribute assigned—columns may be assigned a class that has been pre-defined in the theme's style.css file.

安裝方式

  1. Old-school: upload the column-matic folder to the /wp-content/plugins/ directory via FTP. Hipster: Add the Column-Matic via the WordPress Plugins menu.
  2. Activate the Plugin
  3. Test that the this plugin meets your demanding needs.
  4. Tweak the theme css files for premium enjoyment.
  5. Rate the plugin and verify that it works at wordpress.org.
  6. Leave a comment regarding bugs, feature request or cocktail recipes at https://wordpress.org/tags/column-matic

常見問題集

Example 1: 2 column layout using class only

[column class=”column1″]Column 1 content goes here.[/column]
[column class=”column2″]Column 2 content goes here.[/column]
[end_columns]
Note: .column1 and .column2 must be defined in your theme’s style.css

Example 2: 3 column layout using css definitions

[column width=”200px” padding=”10px”]Column 1 content goes here.[/column]
[column width=”200px” padding=”10px”]Column 2 content goes here.[/column]
[column width=”200px” padding=”10px”]Column 3 content goes here.[/column]
[end_columns]

How does one remove the strange <br/> and </p> tags that are being inserted between the columns

This is due to WordPress processing the wonky wpautop function before processing shortcodes. For a quick workaround, try the following:

  1. Change execution priority of wpautop by adding the following line to function.php:
    add_filter( ‘the_content’, ‘wpautop’,20 );

  2. Remove breaks and spaces between the shortcodes, so the the columns appear all clumped together:
    [column class=”column1″]Column 1 content goes here.[/column][column class=”column2″]Column 2 content goes here.[/column][end_columns]

I am a Social Netwookiee, might Twinpictures have a Facebook page?

Yes, yes… Twinpictures is on Facebook.

Does Twinpictures do the Twitter?

Ah yes! @Twinpictures does the twitter tweeting around here.

How does one use the shortcode, exactly?

A complete listing of shortcode options has been provided to answer this exact question.

Where can I translate this plugin into my favorite language?

Community translation for Column-Matic has been set up. You are welcome to join.

Where can I go for jokes and fun?

Why not try: Jokes & Fun

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Column-Matic〉的開發相關工作。

參與者

將〈Column-Matic〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.3.3

  • updated for WordPres 4.1

1.3.2

  • added WordPress 4.0 icons

1.3.1

  • fixed missing localization keys

1.3

  • removed php4 constructor
  • added I18n localization support

1.2

  • added text_align attribute

1.1

  • Completely re-wrote plugin
  • Added options page to inject custom css

1.0.1

  • Tested with 3.5 and small spelling corrections.

1.0

  • The plugin came to be.