$ps_portfolio_cat_id,
'posts_per_page' => -1
);
$ps_portfolio_query = new WP_Query( $ps_portfolio_args );
if( $ps_portfolio_query->have_posts() ) {
echo '
- ';
while ( $ps_portfolio_query->have_posts() ) {
$ps_portfolio_query->the_post();
$ps_post_categories = get_the_category();
$ps_post_cat_name = $ps_post_categories[0]->name;
$image_id = get_post_thumbnail_id();
$image_path = wp_get_attachment_image_src( $image_id, 'full', true );
?>
-