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.5.3
Last Updated: 7 months ago
Active Installs: 70+
Got something to say? Need help?