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

Auto URL

外掛說明

Now supports custom post types.

Auto URL generates customized permalinks according to post types, categories and tags.

You can generate your own customized url for posts, pages and attachments by using different tokens.

Your posts and pages will still be accessible via your old permalinks.

WP 3.1 and up only. Beta version. Appreciate any feedback.

How To Use:

  1. go to URL Patterns page(wp-admin/admin.php?page=au-pattern) to set the patterns for post and page.

  2. you can set patterns base on tags and categories

  3. after you have set the patterns, click Bulk Generate URL to generate your custom url.

  4. to see generated urls, got to url page(wp-admin/admin.php?page=au-url).

Screenshots: http://www.bunchacode.com/programming/auto-url/

Tested On: Firefox 5, Chrome 13, IE 7 and IE 8

-Available Tokens-

%id%

The unique ID # of the post, for example 423

%name%

A sanitized version of the title of the post.

%namepath%

A sanitized version of the full title path of a page. Similar to %name% but shows the it’s

title path which includes title of it’s parent. Only available to pages.

%category%

A sanitized version of the category name. Uses only the first category.

%categories%

A sanitized version of the all the category names.

%categorypath%

A sanitized version of the category path name.

%blogname%

A sanitized version of the blog name.

%tag%

A sanitized version of the tag name. Uses only the first tag

%tags%

A sanitized version of all the tag names.

%author%

A sanitized version of the author name.

%year%

The year of the post, four digits, for example 2004

%monthnum%

Month of the year, for example 05

%day%

Day of the month, for example 28

%hour%

Hour of the day, for example 15

%minute%

Minute of the hour, for example 43

%second%

Second of the minute, for example 33

安裝方式

  1. Upload auto-url to the /wp-content/plugins/ directory

  2. Activate the plugin through the ‘Plugins’ menu in WordPress

使用者評論

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

參與者及開發者

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

參與者

將〈Auto URL〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄