List of portfolio items from category
-
Looked everywhere and couldnt find the answer to this and since none of the support items seem to get answered, here is the code you need to display the posts from a category:
$args = ( array( 'post_type' => 'portfolio', 'paged' => $paged, 'tax_query' => array( array( 'taxonomy' => 'portfolio_category', 'field' => 'slug', 'terms' => 'YOUR_CATEGORY_TITLE' ) ), ) );
Hope that helps someone!
- The topic ‘List of portfolio items from category’ is closed to new replies.