Title: Random Post Shortcode
Author: PowieT
Published: <strong>2013 年 1 月 16 日</strong>
Last modified: 2022 年 2 月 22 日

---

搜索插件

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

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

# Random Post Shortcode

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

[下载](https://downloads.wordpress.org/plugin/random-post-shortcode.1.0.5.zip)

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

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

## 描述

Insert shortcode [random-post] to a page or post to display a random post from all
of your posts.
 Also provides a widget to display the excerpt from a random post(
published only). To display only posts from a single category use: [random-post 
category_name=”News”]. You can display more than one post, using the numberposts
attribute, example: [random-post numberposts=”5″]

#### 技术支持

Support Forum @ [powie.de](https://powie.de)

### Remove plugin

 1. Deactivate plugin through the ‘Plugins’ menu in WordPress
 2. Delete plugin through the ‘Plugins’ menu in WordPress

### To do

…. you tell me

## 安装

 1. Upload this Plugin to the `/wp-content/plugins/` directory
 2. 通过WordPress的的“Plugins”菜单激活插件

## 常见问题

not available

### How can I support you?

Post a comment on [powie.de Forum](https://powie.de)

### What is the plugin page?

[Powie](https://powie.de)

### Where do I post my feedback?

Post it at my Forum: [powie.de Forum](https://powie.de)

## 评价

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

### 󠀁[Works great](https://wordpress.org/support/topic/works-great-8136/)󠁿

 [Thomas](https://profiles.wordpress.org/lichtkrone/) 2022 年 2 月 22 日

I´ve been using this plugin since a couple of years and it´s the only one which 
fullfil my needs. I told the autor, that it having a problem with php 8.x and within
one day this is solved. Great plugin – great support. 5 Stars.

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

### 󠀁[It does not work](https://wordpress.org/support/topic/it-does-not-work-68/)󠁿

 [Ing. Guillermo Ayala López](https://profiles.wordpress.org/guillermoayalalopez/)
2019 年 4 月 5 日

I installed this plugin on my WordPress v5.1.1 website and is does not work

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

### 󠀁[Doesn’t work and no widget settings](https://wordpress.org/support/topic/doesnt-work-and-no-widget-settings/)󠁿

 [ELR3000](https://profiles.wordpress.org/elr3000/) 2018 年 10 月 7 日

as the title says

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

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-3110/)󠁿

 [npinc](https://profiles.wordpress.org/npinc/) 2016 年 9 月 3 日

Sweet, simple, to the point.

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

## 贡献者及开发者

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

贡献者

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

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.5 (22.02.2022)

 * WP 5.9 tests
 * php 8 compatibility

#### 1.0.4 (10.04.2017)

 * 4.9.5 evaluation
 * unset var bugfix
 * attribute numberposts to display more than one post

#### 1.0.3 (26.05.2016)

 * display by a single category possible

#### 1.0.2 (28.12.2015)

 * WordPress 4.4 compatibility

#### 1.0.1 (19.01.2013)

 * New: Random Post Widget

#### 1.0.0 (15.01.2013)

 * first version with all required stuff by me

## 额外信息

 *  版本 **1.0.5**
 *  最后更新：**4 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **5.9.13**
 *  语言
 * [English (US)](https://wordpress.org/plugins/random-post-shortcode/)
 * 标签
 * [post](https://cn.wordpress.org/plugins/tags/post/)[random](https://cn.wordpress.org/plugins/tags/random/)
   [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)[widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/random-post-shortcode/advanced/)

## 评级

 3 星（最高 5 星）。

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

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

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

## 贡献者

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

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UST438WYW6HNJ)