Search results template listing all posts
I figured it out with some research See the updated args $s = isset( $_GET[“s”] ) ? $_GET[“s”] : “”; $args = array( ‘s’ => $s, ‘post_type’=>array(‘page’), ‘posts_per_page’ => 6 ); query_posts($args); if ( have_posts() ) : while ( have_posts() ) : the_post();