php - Woocommerce + isotope problems with post_classes to filter products -
i'm using command wc products. problem need add classes corresponding name of product slug.
<?php while ( $products->have_posts() ) : $products->the_post(); ?>
my isotope filters named correctly (.item1
, .item2
etc.) have add names product loop filter products. have default post classes included because theme css style classes , plugin require it.
like
<li=class="product type-product status-publish... item1 ?>
Comments
Post a Comment