Support » Plugin: WooCommerce » Add product category values in the category page

  • Trying to apply the Isotope js plugin in the category page for the products grid. Say in the Shoes category you have items with “boots” and “sandals” sub-categories and want to filter them with a little menu on top.

    In order to make it work I’ll need to inject css classes into the list items, next to the “first” and “last” classes.

    I know changes should be applied in the content-product.php file. Adding post_class( ); gives me everything except what I’m after… Yeah, standard WP classes but no categories, no tags, no variation values…

    This will be my dream:


    <li class="first shoes boots">
    [...product...]

    I’m really struggling with this and I don’t know where to start

    http://wordpress.org/extend/plugins/woocommerce/

  • The topic ‘Add product category values in the category page’ is closed to new replies.