WordPress.org

Support

Support » Plugins and Hacks » Posts 2 Posts » [Resolved] [Plugin: Posts 2 Posts] Reciprocal connection isn't being created

[Resolved] [Plugin: Posts 2 Posts] Reciprocal connection isn't being created

  • My two cents:

    One-way connections work just fine, but the reciprocals aren’t being created even though I set the “bydirectional” variable to true. I’m registering the connection type with the following lines:

    function my_connection_types() {
        p2p_register_connection_type('post', 'page', true);
    }
    add_action('init', 'my_connection_types', 100);

    By the way, I tried connecting two objects of the exact same type (i.e. pages to pages) and the plugin behaved correctly, except when I activated the reciprocal connection: in that case, after updating the post/page you’ll see all established connections duplicated. Also, the reciprocal connections aren’t being created.

    Hope this helps, the idea behind this plugin is very good 🙂

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Posts 2 Posts] Reciprocal connection isn't being created’ is closed to new replies.
Skip to toolbar