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.

  1. Unzip parentless-categories.zip inside the /wp-content/plugins/ directory for your site (or install via the built-in WordPress plugin installer)
  2. Activate the plugin through the 'Plugins' admin menu in WordPress
  3. (optional) Add filters for 'parentless_categories' to filter parentless category listing
  4. Use the template tag <?php c2c_parentless_categories(); ?> somewhere inside "the loop"

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

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