Simple Post Type Permalinks

Easy to change Permalink of custom post type.

By Toro_Unit (Hiroshi Urabe)

5.0 (10 ratings)
Version 2.0.5 Active Installs 9,000+ Updated 7 years ago 10 years old

Description

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%"
    )
);

Plugin comparisons

See how this plugin stacks up against alternatives side by side.