[wordpress插件] Auto URL自动网址

wordpress 插件 文章 2020-02-25 01:00 632 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Now supports custom post types.

现在支持自定义帖子类型。

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

自动URL根据帖子类型,类别和标签生成自定义的永久链接。

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.

WP 3.1及更高版本。

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.

      转到URL模式页面(wp-admin / admin.php?page = au-pattern)设置帖子和页面的模式。

    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.

      设置模式后,单击“批量生成URL”以生成自定义URL。

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

      要查看生成的url,请转到url页面(wp-admin / admin.php?page = au-url)。

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

    屏幕截图: http://www.bunchacode.com/programming/auto-url/ <

    /a>

    / a>

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

    经过测试:Firefox 5,Chrome 13,IE 7和IE 8

    -Available Tokens-

    -可用令牌-

    %id%

    %id%

    The unique ID # of the post, for example 423

    帖子的唯一ID号,例如423

    %name%

    %name%

    A sanitized version of the title of the post.

    帖子标题的净化版本。

    %namepath%

    %namepath%

    A sanitized version of the full title path of a page.

    页面完整标题路径的经过净化的版本。

    Similar to %name% but shows the it’s

    与%name%类似,但显示为

    title path which includes title of it’s parent.

    标题路径,其中包含其父标题。

    Only available to pages.

    仅适用于页面。

    %category%

    %category%

    A sanitized version of the category name.

    分类名称的净化版本。

    Uses only the first category.

    仅使用第一类。

    %categories%

    %categories%

    A sanitized version of the all the category names.

    所有类别名称的经过消毒的版本。

    %categorypath%

    %categorypath%

    A sanitized version of the category path name.

    分类路径名称的净化版本。

    %blogname%

    %blogname%

    A sanitized version of the blog name.

    博客名称的净化版本。

    %tag%

    %tag%

    A sanitized version of the tag name.

    标签名称的净化版本。

    Uses only the first tag

    仅使用第一个标签

    %tags%

    %tags%

    A sanitized version of all the tag names.

    所有标签名称的经过消毒的版本。

    %author%

    %author%

    A sanitized version of the author name.

    作者姓名的净化版本。

    %year%

    %year%

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

    帖子的年份,四位数,例如2004

    %monthnum%

    %monthnum%

    Month of the year, for example 05

    一年中的月份,例如05

    %day%

    %day%

    Day of the month, for example 28

    每月的某天,例如28

    %hour%

    %hour%

    Hour of the day, for example 15

    一天中的时间,例如15

    %minute%

    %minute%

    Minute of the hour, for example 43

    小时,例如43

    %second%

    %second%

    Second of the minute, for example 33

    第二分钟,例如33

安装步骤

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

      auto-url 上载到 / wp-content / plugins / 目录

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

      通过WordPress中的“插件”菜单激活插件

下载地址
https://downloads.wordpress.org/plugin/auto-url.1.4.zip
-EOF-

AI助手支持GPT4.0