Simply Exclude Pages from WordPress search results and display only post in search results. This plugin allows you to exclude WordPress websites from search results without modifying the code and it works with most of the available themes. Just install and activate this plugin to exclude pages from search results in WordPress.Read more about this plugin on
WordPress blog.