WordPress.org

Ready to get started?Download WordPress

Forums

Posts 2 Posts
[resolved] Custom meta box: WP_Query call vs get_connected()? (2 posts)

  1. Manny Fleurmond
    Member
    Posted 1 year ago #

    Working on a custom meta box using the P2P core. I noticed something while experimenting: I tried using the WP_Query example and got 0 results, but when I used the get_connected function, I got the results I was looking for. Is there a reason why that is?

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

  2. Manny Fleurmond
    Member
    Posted 1 year ago #

    And I found a solution: connected_direction needed to be set to 'any' to make it work

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic