Discover, trust, install: FAIR 1.0 is here

Simple Post Type Permalinks
Version: 2.0.5
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%"
)
);
Installation
Manual Installation
- Upload the entire
/simple-post-type-permalinks
directory to the/wp-content/plugins/
directory. - Activate Simple Post Type Permalinks through the ‘Plugins’ menu in WordPress.
Access the permalinks setting by going to Settings -> Permalinks.
Faq
Which tag that can be used?
Only %post_id%
and %postname%
.
Reviews
Very Good
By bahman maleki (bahmanmaleki) on August 13, 2021
Very Good.
By freehzw (notebook-driver) on April 11, 2019
Does not save the settings
By Barcelo (barcelo) on July 18, 2018
コードで設定できるのがすごく良いです!
By Takashi Kitajima (inc2734) on June 26, 2018
Does not work at all
By galingong on September 13, 2017
お世話になってます
By Sayaka Kosugi (mekemoke) on March 15, 2017
Just works
By thomaspark on September 3, 2016
Easy to use and works just as you'd expect.
Just incredible!
By gtamborero on September 3, 2016
I have been fighting with the post type of a theme for an hour... After the nightmare I found this plugin! Thanks!
Changelog
2.0.1
- Tested 4.9
2.0.0
- Change of class structure.
- Change namespace.
- Add abstract Module class.
- Use autoloader.
- Remove constructor injection and add setter injection for modules.
- Support
%year%
,%monthnum%
,%day%
,%hour%
,%minute%
,%second%
,%author%
.
1.3.1
- fix pagination link.
1.2.0
- fix textdomain.
1.1.0
- Test with WooCommerce and WPML.
- Admin Bug Fix.
- Support
get_post_type_archive
.
1.0.3
- Admin Bug Fix.
1.0.2
- Coding Standard Fix.
1.0.0
- Drop PHP 5.2.
0.1.0
- First release