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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -