WordPress.org

Ready to get started?Download WordPress

Forums

Posts 2 Posts
List all the terms (merged) of connected posts (1 post)

  1. Goudie
    Member
    Posted 1 year ago #

    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,
    ) );
    
    ...loop...

    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 !

    http://wordpress.org/extend/plugins/posts-to-posts/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags