Support » Plugin: Posts 2 Posts » List all the terms (merged) of connected posts

  • Hi,

    I try to do something but after hours of searching, I have to ask for some help. I display all the posts connected to my current post with something like that :

    $connected = new WP_Query( array(
      'connected_type' => 'my_connected_type',
      'connected_items' => get_queried_object(),
      'nopaging' => true,
    ) );

    The loop is working very well but what I want to do is to display ALL the terms (from one taxonomy) of these connected posts, grouped in a single list (and with no duplicates) after the loop.

    Have you any idea ?

    Thank you very much !

  • The topic ‘List all the terms (merged) of connected posts’ is closed to new replies.