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: 4.3.1
Last Updated: 3 months ago
Active Installs: 60+


0 out of 5 stars


Got something to say? Need help?


Not enough data

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