How can I get portfolio items from a category name inside a portfolio item
-
I have a porfolio-item.php customized. What I’m trying to do is, for example:
If my actual portfolio-item, have the category name = team-nub;
I’m trying to show a list in a div with all the portfolio-items with the category name team-nub but I can’t find the way, or the function to make it work.
I have this for now, but it didn’t work:
<div> echo get_the_term_list( get_the_ID(), 'portfolio_category', "Category: team-nub" ); </div>
- The topic ‘How can I get portfolio items from a category name inside a portfolio item’ is closed to new replies.