跳到内容

Simple Post Type Permalinks

v2.0.5

Toro_Unit (Hiroshi Urabe) · 2015年4月2日 上架

Easy to change Permalink of custom post type.

正在使用
8,000+
评分
5.0 / 5
累计下载
8.8 万
最近更新
2019年6月5日
10 条评价需要 WordPress 4.0+已测试到 5.2.31PHP 5.3+

截图

screenshot-1.png
screenshot-1.png

Edit the permalink structure of custom post type too easy.

Simple Post Type Permalinks is Simple and Smart than Custom Post Type Permalinks.

Available tags are %post_id%, %postname%, %year%, %monthnum%, %day%, %hour%, %minute%, %second%, %author%.

Requires PHP version 5.3 or higher.

This Plugin published on GitHub.

Please Fork and Pull Request!

Setting on Code

Example:

register_post_type( 'foo',
    array(
        "public" => true,
        'has_archive' => true,
        "rewrite" => [
            "with_front" => true
        ],
        "sptp_permalink_structure" => "foo/%post_id%"
    )
);

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums