I’ve been playing with custom post types and taxonomies for organizing all things not post and I wanted to customize my admin edit screens for each new custom post type. Navjot Singh’s tutorial[^1] and this thread on Theme Hybrid’s forums[^2] both provide an introduction to adding taxonomy columns. However, I am lazy and don’t like hardcoding in variables each time I add a custom post type or new taxonomy.
The following set of functions grabs a list of available taxonomies for a given
post_type and automatically adds columns to the appropriate admin pages, without the need to hardcode each post type to taxonomy relationships.