Hi,
This
$portfolio_args=array(
'post_type' => 'portfolio',
'post_status' => 'publish',
'paged' => $paged,
'portfolio-category' => $category_slug,
'posts_per_page' => $item_count,
'tax_query' => array(
array(
'taxonomy' => 'portfolio-category',
'field' => 'id',
'terms' => array( $exclude_categories ),
'operator' => 'NOT IN'
)
)
);
to
$portfolio_args=array(
'post_type' => 'portfolio',
'order' => 'ASC',
'orderby' => 'title',
'post_status' => 'publish',
'paged' => $paged,
'portfolio-category' => $category_slug,
'posts_per_page' => $item_count,
'tax_query' => array(
array(
'taxonomy' => 'portfolio-category',
'field' => 'id',
'terms' => array( $exclude_categories ),
'operator' => 'NOT IN'
)
)
);
Yes it will affect all the portfolio.
Thanks,
laranz.