Title: Random Post Name
Author: PRESSMAN
Published: <strong>2020 年 6 月 12 日</strong>
Last modified: 2020 年 6 月 12 日

---

搜尋外掛

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

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

# Random Post Name

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

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

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

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

## 外掛說明

Auto-generate a unique random string and set it to post_name.

#### Customization with hooks

Use of filter hooks is at your own risk.

 * You can change post_type to be applied by an array. Deafult is ‘post’ only.

    ```
    add_filter( 'random_post_name_post_types', 'hoge' );
    function hoge(){
        return ['post', 'page'];
    }
    ```

 * You can change the number of characters in the post_name. Deafult is 10.

    ```
    add_filter( 'random_post_name_digits', 'hoge' );
    function hoge(){
        return 20;
    }
    ```

 * You can change the variation of characters. Deafult is ‘0123456789abcdefghijklmnopqrstuvwxyz’.
   Do not include multibyte chars.

    ```
    add_filter( 'random_post_name_choices', 'hoge' );
    function hoge(){
        return '0123456789abcdefghijkmnpqrstuvwxyz_-';
    }
    ```

### Precautions

Too few characters and too few character variations can cause unexpected problems.

## 安裝方式

 1. Upload the plugin package to the plugins directory.
 2. Activate the plugin through the \’Plugins\’ menu in WordPress.

## 使用者評論

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

## 參與者及開發者

以下人員參與了開源軟體〈Random Post Name〉的開發相關工作。

參與者

 *   [ PRESSMAN ](https://profiles.wordpress.org/pressmaninc/)
 *   [ Hiroshi Sekiguchi ](https://profiles.wordpress.org/hiroshisekiguchi/)
 *   [ kazunao ](https://profiles.wordpress.org/kazunao/)
 *   [ Shotaro Muraoka ](https://profiles.wordpress.org/muraokashotaro/)

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

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

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

## 變更記錄

#### 1.0

 * first version.

## 中繼資料

 *  版本 **1.0**
 *  最後更新 **6 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 5.4 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.4.21**
 *  PHP 版本需求 ** 7.1.24 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/random-post-name/)
 * 標籤:
 * [post](https://tw.wordpress.org/plugins/tags/post/)[post_name](https://tw.wordpress.org/plugins/tags/post_name/)
   [pressman](https://tw.wordpress.org/plugins/tags/pressman/)[slug](https://tw.wordpress.org/plugins/tags/slug/)
 *  [進階檢視](https://tw.wordpress.org/plugins/random-post-name/advanced/)

## 評分

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

[撰寫評分](https://wordpress.org/support/plugin/random-post-name/reviews/#new-post)

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

## 參與者

 *   [ PRESSMAN ](https://profiles.wordpress.org/pressmaninc/)
 *   [ Hiroshi Sekiguchi ](https://profiles.wordpress.org/hiroshisekiguchi/)
 *   [ kazunao ](https://profiles.wordpress.org/kazunao/)
 *   [ Shotaro Muraoka ](https://profiles.wordpress.org/muraokashotaro/)

## 技術支援

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

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