My template uses custom type categories and posts for the portfolios. I want to fix the breadcrumbs at the portfolio page. The category is missing.
I want to get the category name that the current portfolio item i’m viewing exists into.
I’m very confused if i will use this code:
<?php query_posts(array( 'post_type' => 'Portfolio','portfolio-category' => 'category-name' )); ?>
Can anyone tell me the full code to do that?
Thank you for your time! 🙂
- The topic ‘Get category name from custom-type post’ is closed to new replies.