how to add category name for custom post achieve page
-
hi guys,
I created a NEW post type call product, then I registered a taxonomy call product_category for product, under product_category I have camera, computer, cellphone as product post type category.
I added product_category to the menu, when I click camera, it goes to achieve page which list all product under camera category etc.
I can get product_category name for single product page, by using get_the_term_list($post->ID, ‘product_category’, ” ,’,’ ,”);
but how can I get product_category for the achieve page which list more than 1 product.
I searched some articles, but all about how to add taxonomy for single post.I dont know if i misunderstood the concept of using taxonomy.
any ideas, thx for help 🙂
- The topic ‘how to add category name for custom post achieve page’ is closed to new replies.