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

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

html - How to custom Bootstrap grid height? -