How to get woocommerce product in the 4 columns in frontend homepage. I’m using a template file. Can you send me to code how show product in frontside?
I’m using Field Type: Post Object.
I have attached screenshot, please check.
Thank you in advance.
custom-filds….png
product-list….png
having problem like this .
Yes, you can achieve this using the WordPress WP_Query and passing advanced custom fields to it with a meta query. Instructions on how to do this can be found here: https://www.advancedcustomfields.com/resources/query-posts-custom-fields
Brilliant, thanks for sharing this info. This is all very interesting 🙂