Including categories on WordPress search results page
Say you've added a few categories to your Wordpress back-end. The default Wordpress search displays only posts, but you would like to include your categories in the Wordpress search results as well. Include the following snippet in your search.php template, and you should be good...