该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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订阅开发日志