wordpress snippets last updated   : October 6, 2014
we now have 641 snippets

Rewrite the search results slug to /search/term

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will rewrite the search results URL to /search/ that will give you a results URL like http://wpsnipp.com/search/searchterm

read more

Display number of search results

wordpress snippet

Adding this PHP code to your wordpress theme will display the total number of results returned.

read more