id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 19757,the_category() should include depth,jordash56,,"I've noticed a lot of category functions don't have depth attributes built into them. The default usage of the_category() results in poorly formatted category listings for more complicated category structures (using Wordpress as a CMS). Here's an example: http://bestappsrated.com/android-apps/ If you look at some of the post listings, you'll notice each category is duplicated, that's because their is 3 levels (depth) to that post. If there was a depth option for the the_category() for example allowing: the_category(', ', 'depth=2') It would completely circumvent that problem, And allow a huge amount of flexibility and greater use of Categories withing wordpress, without forcing themer writing custom loops and for statements. Here's another article where there's frustration that this function (and similar category functions) doesn't have a depth parameter: http://www.wpbeginner.com/wp-themes/how-to-display-only-parent-category-in-your-wordpress-post-loop/",defect (bug),closed,normal,,General,,normal,wontfix,,,