change get_posts for wp_query, and add any post_type search when no post_type is selected