このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

WP Auto Columns

説明

You need to display your articles in magazine or newspaper style. Use this plugin. You don’t have
to change your theme files or add styles – just use “table” splitter.

Features

  • fully automatic splitter;
  • create columns in table or div’s;
  • tag-aware;
  • splits long paragraphs and unordered lists;
  • keeps text with headers;

Requirements

The plugin requires DOM API (http://www.php.net/manual/en/book.dom.php) and Tidy (http://www.php.net/manual/en/book.tidy.php)

Usage

Wrap block of text with [auto_columns]...[/auto_columns] shortcode. It will produce markup like

<div class="auto-columns-container columns-2">
<div class="auto-columns-column column-1 first-column">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div>
<div class="auto-columns-column column-2 last-column">Nam tincidunt gravida dui, at bibendum nisl lacinia nec.</div>
<div class="auto-columns-clear"></div>
</div>

In your theme use do_shortcode function:

<?php echo do_shortcode('[auto_columns]' . $content . '[/auto_columns]'); ?>

You will have to define width for .auto-columns-column class in your theme, of course.

スクリーンショット

  • Example of splitted text
  • Example of shortcode markup

インストール

  1. Login to admin panel of your WP blog and go to PluginsAdd New
  2. Enter wp-auto-columns and click on Search button
  3. Click on link Install bellow plugin name WP Auto Columns
  4. Activate plugin by clicking on link Activate

FAQ

No questions yet

評価

このプラグインにはレビューがありません。

貢献者と開発者

WP Auto Columns はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“WP Auto Columns” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0.6

  • Added parameter style="table|div" to define desired split style.

1.0.5

  • Added processing of “height” attribute for IMG tags
  • Fixed behaviour of
    tags
  • Settings page for height measurement fine tuning

1.0.4

  • Added editor toolbar button

1.0.3

  • Small fix in activation handler

1.0.2

  • IMG tags are filtered
  • Added check for installed DOM API on activation
  • Added Russian translation

1.0.1

  • Fixed <ol> behavior

1.0.0

  • First public release