Random Auto Featured Image

外掛說明

For posts and pages with no featured image, and no images associated with the entry, a random image is selected from the media library and set as the featured image.

The plugin currently does not test for images associated with the entry.

Instead, install and run the Easy Add Thumbnail plugin (https://wordpress.org/plugins/easy-add-thumbnail/).

That plugin will set the featured image on all entries that both have no featured image AND have an image associated with the post.

What is left is entries without featured images and without any images.

This plugin provides a random image from the sites media library so that index pages look more interesting (and possibly confusing/humorous depending on which image is randomly selected.)

There is a notice at the bottom of each post the plugin has updated noting the random image. In a future release, this note will be optional via the standard user interface, but for now one has to edit the plugin and remove the last “filter” line. This notice is not displayed if the plugin is removed.

螢幕擷圖

  • Before and after archive index pages

安裝方式

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.

  2. Activate the plugin through the ‘Plugins’ screen in WordPress

常見問題集

Are posts “marked” in some way after the featured image is set?

Yes. The wp_postmeta table has the RandFeat key set with a value of 1 after the image is set.

The notice displayed at the bottom of the entry is not permanent and is only displayed when the plugin is installed and activated.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Random Auto Featured Image〉的開發相關工作。

參與者

將〈Random Auto Featured Image〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • Initial release