• Resolved Florent

    (@frappi)


    Hello,

    I follow the documentation to create post to users connetion but for CPT the connection box doesn’t appear in the admin pannel. Do I miss something ?

    Here is my code :

    function my_connection_types() {
    	p2p_register_connection_type( array(
    	    'name' => 'ecole',
    	    'from' => 'post',
    	    'to' => 'user'
    	) );
    }
    add_action( 'p2p_init', 'my_connection_types' );

    I also try the user -> post but same problem.

    https://wordpress.org/plugins/posts-to-posts/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Does this plugin support CPT connections ?’ is closed to new replies.