';
if (taxonomy_exists('skill') && count($terms) > 0 ){
echo ''.__('All','shapla-portfolio').' ';
foreach ( $terms as $term ) {
echo ''.$term->name.' ';
}
}
echo "";
?>
'portfolio',
'posts_per_page' => -1,
);
$the_query = new WP_Query( $args );
if( $the_query->have_posts() ) :
while( $the_query->have_posts() ): $the_query->the_post();
if( ! has_post_thumbnail() ) continue;
get_template_part( 'content', 'portfolio' );
endwhile;
endif;
wp_reset_postdata();
?>