query(array(
'paged' => $paged,
'orderby' => $p_orderby,
'order' => $p_order,
'post_type' => 'portfolio',
'portfolio-type' => $portfolio_cat_slug,
'posts_per_page' => $portfolio_items
)
);
if ( $wp_query ) :
while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?>
max_num_pages > 1) :
virtue_wp_pagenav();
endif;
$wp_query = null;
$wp_query = $temp;
wp_reset_query();
/**
* @hooked virtue_page_comments - 20
*/
do_action('kadence_page_footer');
?>
ID ) ) {
$image_id = get_post_thumbnail_id( $post->ID);
$image_url = wp_get_attachment_image_src($image_id, 'full' );
$thumbnailURL = $image_url[0];
$image = aq_resize($thumbnailURL, $slidewidth, $slideheight, true, false);
if(empty($image[0])) {$image = array($thumbnailURL,$slidewidth,$slideheight);}
$img_srcset = kt_get_srcset_output($image[1], $image[2], $thumbnailURL, $image_id);
?>
ID, 'portfolio-type' );
if ($terms) {?>
name;} echo implode(', ', $output); ?>