` ”, //posts_to_pages or relationship targeted // other attributes to pass? ), $atts ) ); $args = array( ‘relation_post’ => $connected_type, ‘connected_type’ => $connected_type, ‘connected_items’ => get_queried_object_id(), ‘nopaging’ => true, // other filters ? ); $return = "; $connected = new WP_Query($args); if ( $connected->have_posts() ): $return .= "