Converted relationship field to WP_Query for extensibility