wordpress 按日期对搜索结果排序

发布于 2024-09-06 11:58:57 字数 65 浏览 2 评论 0原文

是否有任何特殊参数可以传递给搜索网址以按日期排序。 是否有任何参数可以增加返回的搜索结果数量?

谢谢

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

从此见与不见 2024-09-13 11:58:57

WordPress 搜索已按日期排序,最新的排在最前面。如果这不是您想要的,那么如果不使用插件和/或编辑源代码,您就运气不好了。所以不,(在这里猜测)您不能将 URL 参数传递给第 3 方 WordPress 网站上的搜索来更改您返回的信息。

这句话来自 Joost de Valk,一位领先的 WordPress 专家,来自他的网站 yoast.com

WordPress 默认搜索有点糟糕。它按日期对结果进行排序,最新的在前,并且在界面方面它没有我们在例如 Google 中搜索时习惯的任何很酷的东西。

那篇文章主要是关于如何改进自己网站的搜索功能。

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.

西瓜 2024-09-13 11:58:57

我对 Search Unleashed 插件做了一些修改,这是我最好的一个已经找到并且非常可定制

I've made some modifications on the Search Unleashed plugin, it's the best one I've found and is pretty customizable

海夕 2024-09-13 11:58:57

我相信这个插件将允许您按日期排序: http://wordpress.org/extend/plugins /search/

希望有帮助!

I believe this plugin will allow you to sort by date: http://wordpress.org/extend/plugins/search/

Hope it helps!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文