BACK TO DIRECTORY

Simple Post Type Permalinks

by Toro_Unit (Hiroshi Urabe)

5.0
(10 ratings)

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

Screenshots

screenshot-1.png

screenshot-1.png

Plugin Details

Active Installs
8K+
Total Downloads
86,058
Version
2.0.5
Requires WP
4.0
Requires PHP
5.3
Tested Up To
5.2.26
Added
2015-04-02
Last Updated
2019-06-04 10:43pm GMT

Ratings

5
10
4
0
3
0
2
0
1
0