Beskrivelse
When there is only one search result available for a query, automatically redirect the user to that result.
This will work with any theme and any posts, pages, or custom post types that would be shown in search results.
Available Filters
You can filter one_search_result_pre_check to false if you need to short-circuit and disable the redirect dynamically.
You can modify the redirect code with once_search_result_redirect_code, defaults to 302.
Anmeldelser
Der er ingen anmeldelser for denne widget.
Bidragsydere & udviklere
“One Search Result” er open source-software. Følgende personer har bidraget til dette plugin.
BidragsydereOversæt “One Search Result” til dit eget sprog.
Interesseret i udvikling?
Gennemse koden, tjek SVN repository, eller abonner på udviklerloggen via RSS.
Ændringslog
1.1.0
- Added another filter, cleaned up code.
1.0.3
- Initial release
