Title: Random
Author: Scribit
Published: <strong>2021 年 3 月 10 日</strong>
Last modified: 2024 年 10 月 21 日

---

搜索插件

![](https://ps.w.org/random/assets/banner-772x250.jpg?rev=3080790)

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

![](https://ps.w.org/random/assets/icon-256x256.png?rev=3080790)

# Random

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

[下载](https://downloads.wordpress.org/plugin/random.1.3.zip)

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

 [支持](https://wordpress.org/support/plugin/random/)

## 描述

With Random plugin you can insert into your WordPress website one or more random
contents coming from your posts.
 The source contents can be pages, posts or custom
post types. You can display information in many different ways: * A list of post
titles * One or more full contents or excerpts * Raw URLs to posts permalink

## 屏幕截图

 * [[
 * Select how many post and with which types you want to show. Select also the post
   format.
 * [[
 * For each post select the fields to show from title, content, excerpt or simple
   permalink.
 * [[
 * Get the shortcode in one click; copy and paste it wherever you want in your webpage
   to show the random contents. Get also an instant demonstration of your shortcode
   result.

## 安装

From your WordPress dashboard

 1. Visit ‘Plugins > Add New’
 2. Search for ‘Random’
 3. Activate the plugin from your Plugins page.

From WordPress.org

 1. Download Random zip file
 2. Unzip it
 3. Upload the unzipped directory to your ‘/wp-content/plugins/’ directory
 4. Activate the plugin from your Plugins page.

## 评价

![](https://secure.gravatar.com/avatar/8f2f7da5465e853bc5f34504779a255ff04878b09e12f954fc64e49c742445f8?
s=60&d=retro&r=g)

### 󠀁[welcome surprise of Random](https://wordpress.org/support/topic/welcome-surprise-of-random/)󠁿

 [rijthoven](https://profiles.wordpress.org/rijthoven/) 2025 年 2 月 8 日 1 回复

I just want to say , that I am very happy with the quality of the plugin that add
pleasant surprise to my website and its viewers . next to that I am very happy with
the service of Scribit , Thank you so much. Rien.

![](https://secure.gravatar.com/avatar/b67b55ef44c601c2f220986f0743ae923fd111c00fd86bba201a2cb92b393b8f?
s=60&d=retro&r=g)

### 󠀁[Great](https://wordpress.org/support/topic/great-16546/)󠁿

 [skorupak](https://profiles.wordpress.org/skorupak/) 2024 年 11 月 8 日 1 回复

Very great plugin. Thanks.

![](https://secure.gravatar.com/avatar/fdef2434ee9e36b381278a1418b33d456d9e9076fef6da669ec1ad348e4916ae?
s=60&d=retro&r=g)

### 󠀁[Very nice Plug-in](https://wordpress.org/support/topic/very-nice-plug-in-23/)󠁿

 [Brian Grover](https://profiles.wordpress.org/daboo2u2/) 2024 年 9 月 20 日 1 回复

Random is almost exactly what I need. I can make it work by using page or post IDs
but it’s pretty laborious. Load content by category or tag would be a really useful
additional feature.

![](https://secure.gravatar.com/avatar/3f6d8e7774f4d2e492d38417326e83ffce2dfd51984286c8abededd81e73cbe9?
s=60&d=retro&r=g)

### 󠀁[Wikipedia style!](https://wordpress.org/support/topic/wikipedia-style/)󠁿

 [Scribit](https://profiles.wordpress.org/scribit/) 2021 年 3 月 10 日

This plugin give to your website the possibility to get random content for specific
posts types. You can use to give to your visitors random posts, or random woocommerce
products for your clients. Very useful in my opinion.

 [ 阅读所有4条评价 ](https://wordpress.org/support/plugin/random/reviews/)

## 贡献者及开发者

「Random」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

「Random」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/random/contributors)
为本插件所做的贡献。

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.3

 * Removed deprecated warnings for PHP >= 8.2
 * WordPress 6.6.2 compatibility
 * Imporoved escaping
 * Minor graphic changes

#### 1.2

 * Add new parameter to include only some posts from random results (by IDs)
 * Setting inputs additional clean

#### 1.1.1

 * WordPress 6.3.2 compatibility
 * Translation corrected

#### 1.1

 * WordPress 6.3.1 compatibility
 * Add new parameter to exclude some posts from random results (by IDs)
 * URLs escaped
 * Corrected URLs for multisite installations

#### 1.0.3

 * WordPress 5.8 compatibility
 * Restyling of about page

#### 1.0.2

 * Correction in URL type shortcode

#### 1.0.0

 * First plugin version

## 额外信息

 *  版本 **1.3**
 *  最后更新：**1 年前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **6.6.5**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/random/) 和 [Italian](https://it.wordpress.org/plugins/random/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/random)
 * 标签
 * [casual](https://cn.wordpress.org/plugins/tags/casual/)[random](https://cn.wordpress.org/plugins/tags/random/)
   [random content](https://cn.wordpress.org/plugins/tags/random-content/)[random post](https://cn.wordpress.org/plugins/tags/random-post/)
   [Random Posts](https://cn.wordpress.org/plugins/tags/random-posts/)
 *  [高级视图](https://cn.wordpress.org/plugins/random/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  4 条 5 星评价     ](https://wordpress.org/support/plugin/random/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/random/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/random/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/random/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/random/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/random/reviews/#new-post)

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

## 贡献者

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

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=riccardosormani@gmail.com&item_name=Random%20Wordpress%20plugin%20donation&no_note=0)