Home Plugins categoy thumbnail excerpt
Category Thumbnail Excerpt logo

Category Thumbnail Excerpt

by Ajit Kumar Satpathy on WordPress.org

Lists a category with thumbnails,title,excerpt with a read more link

(0)
The plugin in action.

The plugin in action.

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.

Active installations10+
Weekly downloads
8-38.46%
Version1.0
Last updated9/9/2014
WordPress version2.9.0
Tested up to4.0.38
Tags
categoriescategorylistpostthumbnail