[Resolved] product category from woocommerce does not work
I have a problem on one of the sites I’m working on.
I use wp-tiles plugin on one of the subpages perfectgentleman.tv/educatedgentleman in few variations.
My client wanted it to show different types of wordpress pages in different groups eg. pages in one of the tabs, posts in the other and products from diffferent categories in two or three of them.
I managed to display posts and pages from different categories but I have a problem with products. When I use the “category” shortcode it does not show any product, but when I try to use “product_cat” instead – all the products published on the site appear. And there should be only one present.
My shortcode in the “Digital Courses” tab looks like this:
[wp-tiles posts_query='post_type=product&product_cat=51' template="4InARow" colors="#8f0099, #7d0099"]
Is it possible for the wp-tiles plugin to work with the product categories just as nicely as it does with the posts and pages?
Thanks for any info. Justina.
- The topic ‘[Resolved] product category from woocommerce does not work’ is closed to new replies.