wordpress snippets last updated   : October 6, 2014
we now have 641 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