// You want your WP search to only display results from posts?
// or only from pages? It's simple :)
// edit your theme's search.php
// you will normally have something like this:
<?php if (have_posts()) : ?>
<h1>Search Results</h1><br/><br/>
<?php while (have_posts()) : the_post(); ?>
// TO SHOW ONLY posts
// simply add this line:
<?php if (is_search() && ($post->post_type=='page')) continue; ?>
// So the final code it will be:
<?php if (have_posts()) : ?>
<h1>Search Results</h1><br/><br/>
<?php while (have_posts()) : the_post(); ?>
<?php if (is_search() && ($post->post_type=='page')) continue;?>
// TO SHOW ONLY pages
// just change == to != like this:
<?php if (is_search() && ($post->post_type!='page')) continue; ?>