wordpress snippets last updated   : September 29, 2014
we now have 639 snippets

Redirect to post when search query returns single result

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will redirect your search to the post automatically when wordpress only returns a single search result.

read more