WordPress Customize Search
I am working on a custom search results page for wordpress. I have a category named Featured.
When a post is in the featured category I want it to always show at the top in search results (both archives and search) if it matches the query.
If I have multiple featured posts it doesn’t matter in which order they show as long as all of the featured posts that match that query show first at the top followed by the rest of the matching posts that are not featured.