This WordPress plugin adds default custom post type permalinks.
PHP Shell
Permalink
Failed to load latest commit information.
bin update install-wp-tests.sh Apr 14, 2016
tests
.gitignore initial release Jan 26, 2015
.travis.yml
custom-post-type-rewrite.php
phpunit.xml
readme.md
readme.txt

readme.md

Introducing Custom Post Type Rewrite

Build Status

This WordPress plugin adds default custom post type permalinks.

Add permalink structure of custom post type

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

How do I use it?

  1. Download and unzip files. Or install Custom Post Type Rewrite plugin using the WordPress plugin installer. In that case, skip 2.
  2. Upload "custom-post-type-rewrite" to the "/wp-content/plugins/" directory.
  3. Activate the plugin through the 'Plugins' menu in WordPress.
  4. Save permalink structure and refresh permalinks through the 'Settings > Permalinks' menu in WordPress.
  5. Have fun!

IMPORTANT: By default, WordPress will not work the Custom Post Type Rewrite. You need to refresh permalinks.

Changelog

  • Version 1.0.2
    • fix add_rewrite_rule
    • fix date-based permalink structure
    • fix phpunit tests
  • Version 1.0.1
    • refactoring
    • add phpunit and tests
  • Version 1.0.0
    • Initial release