wordpress sort search results by date

Is there any special parameter that i can pass to search url to sort it by date .
And is there any parameter to increase the number of search results returned ?

Thanks

Related posts

Leave a Reply

3 comments

  1. WordPress search is already sorted by date, most recent first. If that’s not what you’re looking for, you’re out of luck without using plugins and/or editing source code. So no, (taking a guess here) you can’t pass URL parameters to a search on a 3rd party WordPress site to change the info you get back.

    This quote from Joost de Valk, one of the leading WordPress gurus out there, from his site yoast.com

    WordPress default search kinda sucks. It sorts the results by date, newest first, and interface wise it doesn’t have any of the cool things we’re used to when we search in for instance Google.

    That article is mainly on how to improve the search functionality of your own site.