Posts 2 Posts
[resolved] Sort connected posts with a reciprocal relationship (2 posts)

  1. web559
    Posted 3 years ago #

    Suppose we have a connection between post types 'actor' and 'movie'. Is it possible to satisfy both of these requirements?:

    1. Make connection metabox visible on both 'actor' and 'movie' edit screens.

    2. On 'movie' screen, connected actors are sortable/reorderable.

    My understanding is that #1 is only possible if the connection is reciprocal, and #2 is only possible if it's not. Is there any way to have it both ways?


  2. scribu
    Plugin Author

    Posted 3 years ago #

    Using Posts 2 Posts 1.1.5:

    1. That's the default behavior, regardless of 'reciprocal'.

    2. Sure, use 'sortable' => 'from' or 'sortable' => 'to':


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Posts 2 Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic