Thanks for the review, much appreciated π
Can I ask what your use case was? I’m intrigued and maybe it’s something that will inspire a new setting or feature.
Great π
I am making a website of a collections of works from artists/designers. Therefore I have category=artist/designer set-up, and in categories include their works. I would like to display their avatar when in the ‘category’ view, however on the homepage, I would like to have product thumbnails displayed rather than the avatar of the artist/designer. Therefore I comment out the if part which makes it possible to achieve this. π
For a better view, I replaced “echo get_the_post_thumbnail( $product[0]->ID, ‘shop_thumbnail’ );” by “echo get_the_post_thumbnail( $product[0]->ID, ‘shop_catalog’ );”. So, it showd the thumbnail cropped to dimensions