WordPress – Add specific product attributes terms slug as a CSS class in Woocommerce
I'm trying to add the attribute value names of a product attribute as classname for each item. For example, I have a "Mood" attribute and the value names are "Happy", "Chill", "Energized", "Focused" and "Sleepy". I just need to wrap…