BACK TO DIRECTORY


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
Plugin Details
Active Installs
8K+Total Downloads
86,058Version
2.0.5Requires WP
4.0Requires PHP
5.3Tested Up To
5.2.26Added
2015-04-02Last Updated
2019-06-04 10:43pm GMTRatings
5
10
4
0
3
0
2
0
1
0