跳到内容

Random Auto Featured Image

v1.1

glowrocks · 2017年5月23日 上架

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

正在使用
60+
评分
暂无
累计下载
2,981
最近更新
2024年9月6日
需要 WordPress 3.0.1+已测试到 6.6.12

贡献者

截图

Before and after archive index pages
Before and after archive index pages

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums