BACK TO DIRECTORY

Category Thumbnail Excerpt

by Ajit Kumar Satpathy

0.0
(0 ratings)

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.

Screenshots

The plugin in action.

The plugin in action.

Plugin Details

Active Installs
10
Total Downloads
2,505
Version
1.0
Requires WP
2.9.0
Requires PHP
—
Tested Up To
4.0.38
Added
2014-09-03
Last Updated
2014-09-09 10:33am GMT

Ratings

5
0
4
0
3
0
2
0
1
0