Title: Random Auto Featured Image
Author: glowrocks
Published: <strong>2017 年 5 月 23 日</strong>
Last modified: 2024 年 9 月 6 日

---

搜索插件

![](https://ps.w.org/random-auto-featured-image/assets/banner-772x250.png?rev=3147310)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/random-auto-featured-image/assets/icon-128x128.png?rev=3147310)

# Random Auto Featured Image

 作者：[glowrocks](https://profiles.wordpress.org/glowrocks/)

[下载](https://downloads.wordpress.org/plugin/random-auto-featured-image.zip)

 * [详情](https://cn.wordpress.org/plugins/random-auto-featured-image/#description)
 * [评价](https://cn.wordpress.org/plugins/random-auto-featured-image/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/random-auto-featured-image/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/random-auto-featured-image/#developers)

 [支持](https://wordpress.org/support/plugin/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⌉⌊Before and after archive index pages⌉[

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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ glowrocks ](https://profiles.wordpress.org/glowrocks/)

[帮助将「Random Auto Featured Image」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/random-auto-featured-image)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/random-auto-featured-image/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/random-auto-featured-image/)，或
通过[RSS](https://plugins.trac.wordpress.org/log/random-auto-featured-image/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/random-auto-featured-image/)。

## 更新日志

#### 1.0

 * Initial release

## 额外信息

 *  版本 **1.1**
 *  最后更新：**2 年前**
 *  活跃安装数量 **60+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **6.6.10**
 *  语言
 * [English (US)](https://wordpress.org/plugins/random-auto-featured-image/)
 * 标签
 * [featured image](https://cn.wordpress.org/plugins/tags/featured-image/)[random image](https://cn.wordpress.org/plugins/tags/random-image/)
 *  [高级视图](https://cn.wordpress.org/plugins/random-auto-featured-image/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/random-auto-featured-image/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/random-auto-featured-image/reviews/)

## 贡献者

 *   [ glowrocks ](https://profiles.wordpress.org/glowrocks/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/random-auto-featured-image/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.allthepages.org/)