I have a similar question, actually opposite in a way. I want to pre-sort all my expired coupons to the bottom before display. I currently do this after page load with jQuery, however, I then get expired coupons on all 3 pages of results. It would make for better UX if I could presort this. Seems as if you are the only one capable of answering that here 🙂
I tried your above code for “featured” and switched the meta_key to “expired” but it just removed all coupons.
Copyright © 2010-2020 PremiumPress Limited.