This WordPress plugin adds default custom post type permalinks.
Custom Post Type Rewrite plugin adds default custom post type permalinks.
By default, there are no some permalinks of custom post type.
The Custom Post Type Rewrite plugin adds permalink structure of custom post type.
Following:
- date-based
- author-based
- front
Note: Regarding has_archive and rewrite in $args of Parameters, the priority of the rewrite rule conforms to register_post_type().
ChangeLog
1.2.1
- tested up to 6.2.0
- fix composer scripts
- update github actions
- add support section and enhance contribution section to README
- fix license
1.2.0
- edit README
- add test case
- fix the priority of the rewrite rule of register_post_type()
1.1.4
- change mysql from version 8.0 to version 5.7 using docker image
- fix indent style
- change plugin initialization to wp_loaded hook
1.1.3
- fix ‘Trying to get property ‘permalink_structure’ of non-object’ warning
- change plugin initialization to plugins_loaded hook
- replace assert from assertEquals to assertSame
1.1.2
- update wp-plugin-unit-test.yml
- bump up yoast/phpunit-polyfills version
- change os to ubuntu-20.04 for ci
- add Upgrade Notice
- change requires at least to wordpress 4.9
- change requires to PHP 5.6
1.1.1
- add timeout-minutes to workflows
- add phpunit-polyfills
- tested up to 5.8.0
- add .editorconfig
1.1.0
- tested up to 5.7.0
- separate a class into a class file
- add test case
- add sponsor link
- add FUNDING.yml
- add donate link
- update wordpress-test-matrix
- add GitHub actions for CI/CD, remove .travis.yml
1.0.4
1.0.3
- fix indent and reformat with phpcs and phpcbf
- add composer.json for test
- add static code analysis config
- change Requires at least from 3.4.1 to 3.8
1.0.2
- fix add_rewrite_rule
- fix date-based permalink structure
- fix phpunit tests
1.0.1
- refactoring
- add phpunit and tests
1.0.0