Change default search results order
-
By default WP sorts newest Posts at the top of search results.
I’m using WP Posts as a Members list for a sewing referral group. The search results need to be in order of seniority, so the oldest posts need to appear at the top of the search results—the opposite of the default sort order.
In Settings/Relevanssi/Searching I see this, which looks like what I need, but there is no link for “Help” :
“If you want to override this or use multi-layered ordering (eg. first order by relevance, but sort ties by post title), you can use the orderby query variable. See Help for more information.”
Can you please help me? I also have a Custom Field for member number, so I could easily use that instead of date for search result order.
The page I need help with: [log in to see the link]
- The topic ‘Change default search results order’ is closed to new replies.