Elementor custom query filter best seller and best rated #18212
Abdu97x
announced in
Developers Community
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a platform for multi instructors, and I want to add two sections using Elementor for the best-selling courses (courses that got a lot of purchases) and best rated (courses that got a high rating). Each one has its section (query), not together.
How can I make the custom query filter, and where do I add the custom query in which file?
Because I only have queries filter for last updated, date, comment, and ID.
I am using WordPress, Elementor, Tutor LMS, and WooCommerce.
I saw this: https://developers.elementor.com/docs/hooks/custom-query-filter/
But I don't know how to do it for the best-selling and best-rated and where I put the codes.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions