WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Add product category values in the category page (1 post)

  1. tatygrassini
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic