ID, '_portfolio_layout_value', true);
switch( $kk_portfolio_style ) {
case '3-column':
$kk_col = 'three-col-p';
$kk_hp = false;
break;
case '4-column':
$kk_col = 'four-col-p';
$kk_hp = false;
break;
case '3-column (wide)':
$kk_col = 'three-col-p';
$kk_hp = true;
break;
case '4-column (wide)':
$kk_col = 'four-col-p';
$kk_hp = true;
break;
}
$kk_parallax = kk_parallax();
$title_type = $kk_parallax[0];
$bg_title_img = $kk_parallax[1];
?>
';
} ?>
'portfolio',
'posts_per_page' => -1,
);
} else {
$args = array(
'post_type' => 'portfolio',
'tax_query' => array(
array(
'taxonomy' => 'portfolio-type',
'field' => 'slug',
'terms' => $kk_filter_terms
)
),
'posts_per_page' => -1,
);
}
$query = new WP_Query( $args );
while ( $query->have_posts() ) : $query->the_post(); ?>
ID, 'portfolio-type' );
$term_list = '';
if( is_array($terms) ) {
foreach( $terms as $term ) {
$term_list .= $term->slug;
$term_list .= ' ';
}
}
?>
- >