WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Single Category Permalink

Reduce permalinks (category or post) that include entire hierarchy of categories to just having the lowest level category.

2.1 (2014-01-24)

  • Add unit tests
  • Minor documentation improvements
  • Minor code reformatting (spacing, bracing)
  • Note compatibility through WP 3.8+
  • Update copyright date (2014)
  • Change donate link
  • Add banner

2.0.4

  • Add check to prevent execution of code if file is directly accessed
  • Note compatibility through WP 3.5+
  • Update copyright date (2013)
  • Minor code reformatting (spacing)

2.0.3

  • Re-license as GPLv2 or later (from X11)
  • Add 'License' and 'License URI' header tags to readme.txt and plugin file
  • Remove ending PHP close tag
  • Note compatibility through WP 3.4+

2.0.2

  • Note compatibility through WP 3.3+
  • Add link to plugin directory page to readme.txt
  • Update copyright date (2012)

2.0.1

  • Fix bug triggered when creating new post

2.0

  • Fix compatibility bug relating to generation of category permalink
  • Rename single_category_postlink() to c2c_single_category_postlink()
  • Rename single_category_catlink() to c2c_single_category_catlink()
  • Add c2c_single_category_redirect() to redirect hierarchical category links to the single category alternative
  • Add filter 'c2c_single_category_redirect_status' to allow override of default redirect status code
  • Wrap all functions in if (!function_exists()) check
  • Remove docs from top of plugin file (all that and more are in readme.txt)
  • Add plugin homepage and author links in description in readme.txt
  • Note compatibility through WP3.2+
  • Add PHPDoc documentation
  • Expand documentation in readme.txt
  • Minor tweaks to code formatting (spacing)
  • Minor documentation reformatting in readme.txt
  • Change description
  • Add package info to top of plugin file
  • Add Frequently Asked Questions, Filters, Changelog, and Upgrade Notice sections to readme.txt
  • Update copyright date (2011)

1.0

  • Initial release

Requires: 1.5 or higher
Compatible up to: 3.8.3
Last Updated: 2014-1-25
Downloads: 6,070

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
0,1,0
0,1,0