Title: Random Posts
Author: RobMarsh
Published: <strong>2008年3月23日</strong>
Last modified: 2008年10月2日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/random-posts-plugin.svg)

# Random Posts

 由[RobMarsh](https://profiles.wordpress.org/robmarsh/)

[下載](https://downloads.wordpress.org/plugin/random-posts-plugin.2.6.2.0.zip)

 * [詳情](https://zh-hk.wordpress.org/plugins/random-posts-plugin/#description)
 * [評價](https://zh-hk.wordpress.org/plugins/random-posts-plugin/#reviews)
 *  [安裝](https://zh-hk.wordpress.org/plugins/random-posts-plugin/#installation)
 * [開發](https://zh-hk.wordpress.org/plugins/random-posts-plugin/#developers)

 [支援](https://wordpress.org/support/plugin/random-posts-plugin/)

## 描述

Random Posts displays a list of randomly chosen posts. The output can be customised
in [many](http://rmarsh.com/plugins/post-options/) ways.

This plugin **requires** the latest version of the _Post-Plugin Library:_ [download it now](https://downloads.wordpress.org/plugin/post-plugin-library.zip).

### Version History

 * 2.6.2.0
    - new {imagealt} output tag — rather like {imagesrc}
    - {excerpt} can now trim to whole sentences
    - content filter can now take parameter string
    - widget can now take parameter string
    - output can be appended to posts & feeds
 * 2.6.1.0
    - the current post can be marked manually
    - widgets now honour the option to show no output if list is empty
 * 2.6.0.1
    - bug fix: installation code was failing on some systems
 * 2.6.0.0
    - version bump to indicate compatibility with WP 2.6
    - fix to really include attachments
    - new parameter for {imagesrc} to append a suffix to the image name, e.g. to
      get the thumbnail for attachments
 * 2.5.0.11
    - new option to include attachments
    - {php} tag now accepts nested tags
    - new output tag {authorurl} — permalink to archive of author’s posts
 * 2.5.0.10
    - fix for page selection in old versions of WP
    - made omit current post try harder to find current post ID
 * 2.5.0.9
    - new option to match the current post’s author
    - extended options for snippet and excerpt output tags
 * 2.5.0.7
    - new option to show by status, i.e., published/private/draft/future
    - {categorynames} and {categorylinks} apply ‘single_cat_name’ filter
    - fixes bug in WP pre-2.2 causing installation to fail
 * 2.5.0
    - {image} has new post, link, and default parameters
    - new {imagesrc} tag
    - fix to empty category bug
    - excluded posts bug fix
    - fix for intermittent bug with ‘omit current post’ option
 * 2.5b26
    - reverted thumbnail serving (speed)
    - fix current post after extra query
 * 2.5b25
    - option to sort output, group templates
    - removed ‘trim_before’ option added more logical ‘divider’
    - {date:raw}, {commentdate:raw}, etc.
    - fix for {image} resizing when and not
    - {image} now serves real thumbnails
 * 2.5b24
    - fix for recursive replacement by content filter
    - fix to {gravatar} to allow for ‘identicon’ etc.
    - fix to {commenter} to allow trimming
    - fix a warning in safe mode
 * 2.5b23
    - new option to filter on custom fields
    - nested braces in {if}; condition now taggable
    - improved bug report feature
    - better way to omit user comments
 * 2.5b22
    - fixes for tag bugs
    - show_pages option can now show only pages
 * 2.5b19
    - fix for content replacement filter
 * 2.5b18
    - fix output filter bug
    - new conditional tag {if:condition:yes:no}
 * 2.5b16
    - fix for {php}
 * 2.5b15
    - fix bugs, add ‘included posts’ setting
 * 2.5b14
    - fix file-encoding, installation error, etc.
 * 2.5b11
    - some widget fixes
 * 2.5b9
    - clarifying installation instructions
 * [previous versions](http://rmarsh.com/plugins/random-posts/)

## 安裝

 1. IMPORTANT! If you are upgrading from a previous version first deactivate the plugin,
    then delete the plugin folder from your server.
 2. Upload the plugin folder to your /wp-content/plugins/ folder. If you haven’t already
    you should also install the [Post-Plugin Library](https://wordpress.org/extend/plugins/post-plugin-library/)
    >.
 3. Go to the **Plugins** page and activate the plugin.
 4. Put `<?php random_posts(); ?>` at the place in your template where you want the
    list to appear or use the plugin as a widget.
 5. Use the **Options/Settings** page to adjust the behaviour of the plugin.

[My web site](http://rmarsh.com/) has [full instructions](http://rmarsh.com/plugins/random-posts/)
and [information on customisation](http://rmarsh.com/plugins/post-options/).

## 常見問題

  Installation Instructions

 1. IMPORTANT! If you are upgrading from a previous version first deactivate the plugin,
    then delete the plugin folder from your server.
 2. Upload the plugin folder to your /wp-content/plugins/ folder. If you haven’t already
    you should also install the [Post-Plugin Library](https://wordpress.org/extend/plugins/post-plugin-library/)
    >.
 3. Go to the **Plugins** page and activate the plugin.
 4. Put `<?php random_posts(); ?>` at the place in your template where you want the
    list to appear or use the plugin as a widget.
 5. Use the **Options/Settings** page to adjust the behaviour of the plugin.

[My web site](http://rmarsh.com/) has [full instructions](http://rmarsh.com/plugins/random-posts/)
and [information on customisation](http://rmarsh.com/plugins/post-options/).

## 評價

There are no reviews for this plugin.

## 貢獻者及開發者

“Random Posts” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

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

[將 Random Posts 外掛本地化為台灣繁體中文版。](https://translate.wordpress.org/projects/wp-plugins/random-posts-plugin)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/random-posts-plugin/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/random-posts-plugin/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/random-posts-plugin/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/random-posts-plugin/)。

## 其它

 *  Version **2.6.2.0**
 *  Last updated **9 年之前**
 *  Active installations **300+**
 *  WordPress version ** 1.5 or higher **
 *  Tested up to **2.6.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/random-posts-plugin/)
 * Tags
 * [post-plugins](https://zh-hk.wordpress.org/plugins/tags/post-plugins/)[posts](https://zh-hk.wordpress.org/plugins/tags/posts/)
   [random](https://zh-hk.wordpress.org/plugins/tags/random/)[Random Posts](https://zh-hk.wordpress.org/plugins/tags/random-posts/)
 *  [進階顯示](https://zh-hk.wordpress.org/plugins/random-posts-plugin/advanced/)

## 評分

 2 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/random-posts-plugin/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/random-posts-plugin/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/random-posts-plugin/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/random-posts-plugin/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/random-posts-plugin/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/random-posts-plugin/reviews/)

## 貢獻者

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

## 支援

有話想說？需要協助？

 [檢視支援論壇](https://wordpress.org/support/plugin/random-posts-plugin/)

## 捐贈

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://rmarsh.com/donate/random-posts/)