プラグイン要らずでカスタマイズ自由。
functions.phpでadd_theme_support( 'post-thumbnails' );入れておかないと動かないけど
<div> <p align="center">★記事</p> <table align="center"> <tbody> <?php $post_id = get_the_ID(); $newposts = get_posts( array( 'category_name' => 'カテゴリ名', 'posts_per_page' => 3, 'exclude' => $post_id )); foreach( $newposts as $post ): echo '<tr>'; setup_postdata( $post ); $new_title = get_the_title($post); echo '<td>'; if(has_post_thumbnail($post->ID)) { $img = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID),large); echo "<img src='{$img[0]}' alt='' height='90'>"; } echo '</td>'; echo '<td width="16px">'; echo '</td>'; echo '<td valign="top">'; echo "<a href='" . get_permalink($post) . "'>"; echo "{$new_title} <span style='font-size:13px'>(" . get_post_time('Y.m.d',false,$post) . ")</span>"; echo '</a>'; echo '</td>'; echo '</tr>'; endforeach; wp_reset_postdata(); ?> </tbody> </table> </div>
ネタ元