2007年7月7日

新しいサイト”わーどぷれすっ!”をオープンしました。

今後はWordPress関連の話題は全部このサイトに投稿していきます。プラグイン一覧もこの新サイトに移しましたので、ドウゾよろしくお願いします。

WPのプラグイン:iMP Limiter

Registry First Aid will find these invalid entries and remove them from your registry. With Registry First Aid, your Windows registry will be always clean and correct, helping your programs load faster and speeding up your computer. Fast, easy to use, PC speed testing and benchmarking. PassMark PerformanceTest allows you to objectively benchmark a x blades keygen PC using a variety of different speed tests and compare the results to other computers. Twenty-eight standard benchmark tests are available in six test suites plus there are seven advanced testing windows for custom benchmarking. In addition to the standard tests, there are 7 summary results plus the overall PassMark Rating result. The benchmark results are xilisoft keygen presented as easy to read bar charts so that you dont need to spend hours studying the number to know the result. Timing for the tests is done using high resolution timers, which are accurate to approximately 1 millionth of a second on most PCs. Create professional-quality advertising, sophisticated print designs and electronic documents with PagePlus sims 2 keygen X5, the best-in-class desktop publisher.

説明:表示する文字数、もしくは単語数を制限。単語数の場合は半角スペースで区切っているため日本語だと全部表示されてしまうが、文字数だとうまく表示を制限してくれる。

デモ:プラグイン作者のトップページの「From The Past」以下

WP ver.:2.0.x – 未検証、2.1 – オッケー

ダウンロード:WordPress Plugins: iMP Limiter » In My Pad

導入:

  1. プラグインフォルダに入れて有効化
  2. テンプレート内で表示文字数を制限させたい箇所のthe_contentタグを見つけてプラグインのiMP_Limit_Char(文字数で制限)もしくはiMP_Limit_Word(単語数で制限)タグと置き換える

使用例:

<?php iMP_Limit_Char(100, '.....'); ?>
最初の引数が表示文字数。デフォルトは200。2番目の引数は最後尾に表示するテキスト。デフォルトは「…」(括弧除く)。この例では100文字分表示して、一番最後に.....を表示する。
<?php iMP_Limit_Word(10); ?>
単語数で制限するときのタグ。デフォルトの単語数は40。引数の設定はiMP_Limit_Charと同じ。

この他の「投稿のフォーマット」関連のプラグイン:

This entry was posted in WordPress, WP プラグイン. Bookmark the permalink.

コメントを残す

メールアドレスが公開されることはありません。

次のHTML タグと属性が使えます: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>