Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Posts 2 posts related with ID
$connected = new WP_Query( array(
'connected_type' => 'proyectos_a_sectores',
'connected_items' => get_post($post->post_parent),
'nopaging' => true,
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.