Advanced Post Image Plugin

English

Advanced Post Images plugin can generate thumbnails of the first image of latest (number is set by user) posts and link back to the them.

Installation and Usage

  1. Upload the advanced-post-image.php to to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Place <?php get_post_image_list(); ?> in your templates
  4. create the folder thumb under the directory wp-content/uploads/, and set it to 777

If you want to control the number, the thumb image's width and height, you can use the following four parameters in the function <?php get_post_image_list(); ?>


$image_number = 10 // the image number, default is 10
$thumb_width = 50 // the thumb image's width, default is 50px
$thumb_height = 50 // the thumb image's height, default is 50px
$type = "recent" // the list's type,  "recent" displays latest posts's image while "random" display random posts's image

You can use the ul.post-image-list CSS selector to stlye the images list.

Download: Advanced Post Image Plugin

请扫码关注微信公众号
发送“验证码”获取验证码

标签:

热门文章