Include custom post type in search results

With this snippet you can include your custom post type in the wordpress search results.

Other relevant snippets: