Hi there, I would like to show a product from each category on my home page. At the moment, it doesn’t look like the dynamic template builder offers this. What would the best way to go about this? Using a woocommerce shortcode or custom query?
Probably you need to write a custom query because all shortcodes and the template builder just start a simple wp query. As far as I know WP doesn’t offer a query parameter which allows you to limit the items/articles per category/term and you need to develop a custom query for this task (eg by using a loop counter/index).
The topic ‘List product from each category on home page’ is closed to new replies.