• Using version 1.1.4 of the plugin, and this code:

    p2p_register_connection_type( array(
    ‘name’ => ‘multiple_authors’,
    ‘from’ => ‘sga_organisation’,
    ‘to’ => ‘user’,
    ‘admin_box’ => array(‘show’ => ‘any’,’context’ => ‘advanced’)
    ) );

    The ‘sga_organisation’ post type ‘supports’ array is (‘title’,’editor’,’author’,’thumbnail’).

    The post type is registered through a plugin (added the action to ‘init’), and the connection is registered in the theme.

    Any pointers?

    http://ww.wp.xz.cn/extend/plugins/posts-to-posts/

Viewing 1 replies (of 1 total)
  • Thread Starter max_elander

    (@max_elander)

    Figured it out: needed to tie the connection registration to ‘wp_loaded’. Should’ve read the documentation more thoroughly.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Posts 2 Posts] Can't connect custom post type to users?’ is closed to new replies.