Exclude Pages from Search

This snippet adds a filter to your search result which excludes pages. Paste it into your functions.php file.

Other relevant snippets: