Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author scribu

    (@scribu)

    Yes, using reciprocal => true is the appropriate way of controlling this.

    Not sure what you mean by “hiding the current post type”.

    Thread Starter Marko Heijnen

    (@markoheijnen)

    When you for example connection from post to post and you want to edit a post in wp-admin with for example Hello world (post_id = 1) you also can select the same post in the p2p metabox. Seems something unwanted.

    Plugin Author scribu

    (@scribu)

    So, in other words, the problem is that you’re able to connect a post to itself?

    Thread Starter Marko Heijnen

    (@markoheijnen)

    Yes. That is indeed a better explanation.

    Plugin Author scribu

    (@scribu)

    Agreed. Fixed in the development version (1.1.5-alpha).

    If you want to enable a post to be connected to itself again, pass 'self_connections' => true to p2p_register_connection_type().

    Thread Starter Marko Heijnen

    (@markoheijnen)

    Okay, thanks. Will going to try it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Posts 2 Posts] Connect posts of the same post type’ is closed to new replies.