Support » Themes and Templates » Get the category for custom post type (NO custom taxonomy)

  • Rachel Goldstein


    I am using a custom post type called ‘equipment’. There is no custom taxonomy within ‘equipment’, just regular old categories. I am trying to get the category and its link from within the loop. I’ve tried all the regular WP codex ways, but it doesn’t work because of the custom post type. I’ve also tried at least a dozen things listed here in WP forums, but either they don’t work or there is a lot of extra code that is for getting the custom taxonomy, and I don’t have a custom taxonomy. Just a post type called ‘equipment’ with 4 categories. Any ideas?

  • The topic ‘Get the category for custom post type (NO custom taxonomy)’ is closed to new replies.