I have a custom query inside my template, I want to show product by price, I want to query free products, and only show $0 products on my home page.
- July 12, 2020
- 229 views
- 0 votes
- 2 Answers
-
I have a custom query inside my template, I want to show product by price, I want to query free products, and only show $0 products on my home page.
2
Answers
Add this to your theme functions.php, and let me know If it works.
If you want to display on your homepage the products add this code: