WordPress.org

Ready to get started?Download WordPress

Forums

Posts 2 Posts
[resolved] Discrepancy when doing queries via P2P plugin vs via P2P-Core (1 post)

  1. Manny Fleurmond
    Member
    Posted 1 year ago #

    I'm experimenting with your Posts 2 Posts code in two ways: one via your P2P-Core code in a plugin and the other in a separate instance of WordPress using your plugin proper. I've found that when using your P2P-Core, that 1. the p2p_init hook doesn't exist and 2. In order to have a query work, you have to explicitly set connected direction in the query. Otherwise, the query returns 0 results, even when there should be.

    Conversely, for some reason if I explicitly set the connected_direction to any in a query done while using the actual plugin, I get zero results as well.

    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

No tags yet.