Title: random post list
Author: rogi073
Published: <strong>2009 年 2 月 27 日</strong>
Last modified: 2009 年 2 月 28 日

---

搜尋外掛

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

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

# random post list

 由 [rogi073](https://profiles.wordpress.org/rogi073/) 開發

[下載](https://downloads.wordpress.org/plugin/random-post-list.0.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/random-post-list/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/random-post-list/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/random-post-list/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/random-post-list/#developers)

 [技術支援](https://wordpress.org/support/plugin/random-post-list/)

## 外掛說明

To add random list of submitted posts and one random link with customized link string.

**Usage**

To put previous posts list randomly, you shuould just add below string at the place
where you want to place it.

    ```
    <?php rpl_random_lists(); ?>
    ```

And if you want to customize the list, youcan use 5 options

    ```
    <?php rpl_random_lists(num_limit,exclude,date_limit,echo,list); ?>
    ```

num_limit : default value is “5”
 set the maximum number to show in output list.
exclude : default value is “” set the post ID which you never want to show in output
list. date_limit : default value is “” set date limit. posts which is later than
this date limit never be shown in output list. the date will be evaluate by strtotime
function, so available format for this option is same as strtotime function. echo:
default value is true If set this value as true then function returns result as 
output as html, and set as false then function returns result as string. list : 
default value is true If set this value as true then function returns result as 
list style using ul and li tag, and set this value as false then function returns
result as string devided by \n.

To put one random link with customized title like “feeling lucky!”, you shuould 
just add below string at the place where you want to place it.

    ```
    <?php rpl_feelinig_lucky(); ?>
    ```

And if you want to customize the list, youcan use 3 options

    ```
    <?php rpl_feelinig_lucky(text,exclude,date_limit,echo); ?>
    ```

text : default value is “feeling lucky!”
 set text string to show as hyperlink string.
for example in case of default the output is like this [feeling lucky!](https://tw.wordpress.org/plugins/random-post-list/randomly-selected-url?output_format=md).
exclude : default value is “” set the post ID which you never want to show in output
list. date_limit : default value is “” set date limit. posts which is later than
this date limit never be shown in output list. the date will be evaluate by strtotime
function, so available format for this option is same as strtotime function. echo:
default value is true If set this value as true then function returns result as 
output as html, and set as false then function returns result as string.

**Customization**

The plug in provides the following CSS classes:

    ```
    * ul.random-post-link: for rpl_random_lists function (if list is activated)
    * li.random-post-link: for rpl_random_lists function (if list is activated)
    * a.random-post-link: for rpl_feelinig_lucky function
    ```

### Contact

Suggestion, fixes, rants, congratulations, gifts et al to help[at]seunze.com

## 安裝方式

 1. Upload `random-post-list` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈random post list〉的開發相關工作。

參與者

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

[將〈random post list〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/random-post-list)

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

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

## 中繼資料

 *  版本 **0.2**
 *  最後更新 **17 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 2.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **2.7.1**
 *  語言
 * [English (US)](https://wordpress.org/plugins/random-post-list/)
 * 標籤:
 * [list](https://tw.wordpress.org/plugins/tags/list/)[posts](https://tw.wordpress.org/plugins/tags/posts/)
 *  [進階檢視](https://tw.wordpress.org/plugins/random-post-list/advanced/)

## 評分

這個項目尚無任何評論記錄。

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

[查看全部使用者評論](https://wordpress.org/support/plugin/random-post-list/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

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