Linux 软件免费装

Plugin Name

开发者 iuk
更新时间 2010年10月25日 17:49
PHP版本: 3.0.1 及以上
WordPress版本: 3.0.1

标签

posts image thumbnail

下载

0.1

详情介绍:

This plugin will scan your thumbnail-less posts and look for a suitable image to use as a thumbnail. It will look for images linked in the post content and will download and add them to the local library. Post scanning is performed only when the_post_thumbnail or get_the_post_thumbnail are called for that particular post. So you designed your new thumbnail-based template, but you have tons of thumbnail-less posts and don't want to spend too much time on scraping your old posts for a thumbnail picture. Maybe you think you will probably forget to set a thumbnail for your new posts. Maybe both, as was my case :). When a thumbnail for a post is queried and nothing is found this plugin will scrape the post for an <img> tag and its href property. Once a suitabile image is found (based on the configured settings), it will be downloaded ad set as the post thumbnail. If no suitable image is found, a default one will be used. This plugin is still in early development state. It just covers my needs (see the "To do" section for more details). It has been tested only with wordpress 3.0.1, but should work also with 2.9, since I used similar code with 2.9 (even if it was included in my template's functions.php). The plugin is not supported. This doesn't mean that I will not look into submitted bugs. Anyway, don't expect prompt answers, since this is done in my spare time.

安装:

  1. Upload auto-thumbnail-generator to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Just use the default the_post_thumbnail or get_the_post_thumbnail template tags
After installation, you can find plugin settings in the media settings page. The following settings are available:

更新日志:

0.1