Like the_category(), list categories assigned to a post, but excluding assigned categories that have a child category also assigned to the post.
/wp-content/plugins/directory for your site (or install via the built-in WordPress plugin installer)
<?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+
Got something to say? Need help?