the_title(),                     'compare' => 'LIKE'                     )             ),             'post_type' => 'apartments',              'orderby'=> 'title',              'order' => 'ASC' ));         $loop = new WP_Query( $apartments );          ?>          <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>  