'house', 'post_title' => $housename, 'meta_query' => array( array( 'key' => 'house_city', 'value' => $city ), array( 'key' => 'house_state', 'value' => $state ) ) ); $houses_found = new WP_Query( $args ); if ( $houses_found->have_posts() ) : while ( $houses_found->have_posts() ) : $houses_found->the_post(); echo '

'.get_the_title().'

'; endwhile; endif; wp_reset_postdata(); ?>
<input type="submit" class="submit-2" name="submit" id="searchsubmit-2" value="" />