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