Can you help me build this?
“How do I programmatically add a custom search order that:
Primary sort: Posts WITH featured image (_thumbnail_id meta) first, posts WITHOUT featured image second
Secondary sort (within each group): Random order using RAND()
In other words: All posts with featured images appear first in random order, then all posts without featured images appear in random order.”
Thanks – Tommy / Louiie Wohlert