Switched from get_posts to WP_Query