WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Parentless Categories

Like the_category(), list categories assigned to a post, but excluding assigned categories that have a child category also assigned to the post.

2.0 (2014-01-09)

  • Add c2c_parentless_categories()
  • Deprecate parentless_categories() in favor of c2c_parentless_categories()
  • Change default behavior of c2c_parentless_categories() to omit all ancestor categories by default, instead of just directly assigned categories
  • Add optional arg $omit_ancestors to c2c_parentless_categories() only omitting direct parent categories and not all ancestor categories
  • Add filter 'c2c_get_parentless_categories_omit_ancestors'
  • Add filter 'c2c_parentless_categories' to support filter invocation method c2c_parentless_categories()
  • Add c2c_get_parentless_categories_list()
  • Deprecate get_parentless_categories_list() in favor of c2c_get_parentless_categories_list()
  • Add filter 'c2c_get_parentless_categories_list' to support filter invocation method c2c_get_parentless_categories_list()
  • Add c2c_get_parentless_categories()
  • Deprecate get_parentless_categories() in favor of c2c_get_parentless_categories()
  • Add filter 'c2c_get_parentless_categories' to support filter invocation method c2c_get_parentless_categories()
  • Add filter 'c2c_parentless_categories_list' (which also passed $post_id to the hook)
  • Deprecate 'parentless_categories' in favor of 'c2c_parentless_categories_list'
  • Remove harcoded space added after custom separator in c2c_get_parentless_categories_list()
  • Add unit tests
  • Add Filters section to readme.txt to document all filters
  • Note compatibility through WP 3.8+
  • Drop compatibility with versions of WP older than 3.6
  • Update copyright date (2014)
  • Code and documentation reformatting (spacing, bracing)
  • Change donate link
  • Add banner image

1.1.5

  • Change description in plugin header to make it shorter
  • Note compatibility through WP 3.5+
  • Update copyright date (2013)

1.1.4

  • 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+

1.1.3

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

1.1.2

  • Note compatibility through WP 3.2+
  • Minor documentation reformatting in readme.txt
  • Fix plugin homepage and author links in description in readme.txt

1.1.1

  • Documentation tweaks
  • Note compatibility with WP 3.1+
  • Update copyright date (2011)

1.1

  • Wrap all functions in if(!function_exists()) check
  • Remove docs from top of plugin file (all that and more are in readme.txt)
  • Note compatibility with WP 2.9+, 3.0+
  • Add PHPDoc documentation
  • Minor tweaks to code formatting (spacing)
  • Add package info to top of plugin file
  • Add Changelog, Template Tags, and Upgrade Notice sections to readme.txt
  • Update copyright date
  • Remove trailing whitespace

1.0

  • Initial release

Requires: 3.6 or higher
Compatible up to: 3.8.3
Last Updated: 2014-1-10
Downloads: 2,025

Ratings

3 stars
3 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.

0,1,0