跳到内容

FX random image

v1.0.2

AivarasFX · 2011年5月20日 上架

Plugin displays random image from attached images to page or post.

正在使用
10+
评分
3.7 / 5
累计下载
4,197
最近更新
2011年5月20日
3 条评价需要 WordPress 2.8+已测试到 3.0.5

贡献者

Plugin creates widget that displays one random image from current page or post attached images, or from any page or post set by ID. You can set size of image to display.

Displays a random image from post or page you specify. Plugin creates FX-Random-image widget. Use widget to add image to sidebar or add <?php FX_Random_Image($pageID, $link, $size); ?> function to theme. $pageID is page/post ID from there to take images, if $link = true adds link to image, $link = false no link on image, $size – image size (‘thumbnail’, ‘medium’ or ‘large’). Example <?php FX_Random_Image(1, false, 'large'); ?>

Plums

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

导航

说明

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

© 2026 Plums