Title: [Plugin: Posts 2 Posts] [Suggestion] P2P Workflow
Last modified: August 20, 2016

---

# [Plugin: Posts 2 Posts] [Suggestion] P2P Workflow

 *  [adamito](https://wordpress.org/support/users/adamito/)
 * (@adamito)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-suggestion-p2p-workflow/)
 * Hi,
 * I’m a web entrepreneur and we use wordpress to manage and educational plateform(
   9rayti.com) in Morocco … And of course we also used P2P in our dev.
 * My suggestion is to add a sort of “workflow layer” to P2P. It can be another 
   plugin that work with P2P.
 * The idea is to add some restrictions for publishing new posts (CPT) or make new
   connections.
 * And example : You have to add an author (as CPT) before to add a book (as CPT)
   and a book have to be connected to at least one author …
 * If there is some interested by these functionalities, we can work on it together.
 * [http://wordpress.org/extend/plugins/posts-to-posts/](http://wordpress.org/extend/plugins/posts-to-posts/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-suggestion-p2p-workflow/#post-2995233)
 * > create author before creating book
 * That restriction seems arbitrary to me.
 * > book have to be connected to at least one author
 * Now this seems useful. Here’s how I imagine it working:
 * You create a draft book (add a title and some content) and save it. If you try
   to click “Publish”, it won’t let you, until you connected it to at least one 
   author (which can be created from within the P2P box).
 *  Thread Starter [adamito](https://wordpress.org/support/users/adamito/)
 * (@adamito)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-suggestion-p2p-workflow/#post-2995286)
 * Thank you for your answer scribu.
 * Have you an idea how to “block/stop” publishing … ?
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-suggestion-p2p-workflow/#post-2995293)
 * Well, it won’t be straightforward.
 * Best UX would be to do it via some JavaScript, but also need to validate again
   in PHP, via the ‘save_post’ hook or similar.
 * If you want to work on it, fork away on github:
 * [https://github.com/scribu/wp-posts-to-posts](https://github.com/scribu/wp-posts-to-posts)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Posts 2 Posts] [Suggestion] P2P Workflow’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/posts-to-posts_7a8e9d.svg)
 * [Posts 2 Posts](https://wordpress.org/plugins/posts-to-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-to-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-to-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-to-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-to-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-to-posts/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [scribu](https://wordpress.org/support/users/scribu/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-suggestion-p2p-workflow/#post-2995293)
 * Status: not resolved