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

Category Thumbnail Excerpt

説明

These must be in function.php in the theme for the plugin to work for thumbnail and excerpt:

add_theme_support( ‘post-thumbnails’ );

set_post_thumbnail_size( form_option(‘thumbnail_size_w&&echo=false’), form_option(‘thumbnail_size_h&&echo=false’), true );

function custom_excerpt_length( $length ) {
return 20;
}
add_filter( ‘excerpt_length’, ‘custom_excerpt_length’, 999 );
function custom_excerpt_more( $more ) {
return ”;
}
add_filter( ‘excerpt_more’, ‘custom_excerpt_more’ );

You’ll also need to add thumbnails to the posts you want visible in the list.

After that, all you need to do is to add the hook [getcatlist 1] (where 1 is a categoy id) to your post.

スクリーンショット

  • The plugin in action.

インストール

This section describes how to install the plugin and get it working.

  1. Upload “categoy-thumbnail-list” to the “/wp-content/plugins/” directory
  2. Add the following rows to your themes functions.php
    add_theme_support( ‘post-thumbnails’ );
    set_post_thumbnail_size( form_option(‘thumbnail_size_w&&echo=false’), form_option(‘thumbnail_size_h&&echo=false’), true );
  3. Activate the plugin through the “Plugins” menu in WordPress
  4. Add the hook in a post. Example: [getcatlist 3]

FAQ

None, yet.

評価

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

貢献者と開発者

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

貢献者

“Category Thumbnail Excerpt” をあなたの言語に翻訳しましょう。

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

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

変更履歴

1.0

  • Creation