scribu/wp-posts-to-posts — Issue #124: Adding a field to the widget to save custom p2p meta?
Author: Rayken
Created: 2012-02-27 16:59:36+00:00
State: open

I have a quick little question, I've been looking at the Wiki but I can't seem to figure out how you've added "Role" in [screenshot-2](https://github.com/scribu/wp-posts-to-posts/blob/master/screenshot-2.png). I'd like to add a field just like it on that screenshot where it would save a custom meta key with the value entered - is this possible?

The reason I'd like this is to store some additional information about the relation other than simply just relating the posts. In this case I'd like to specify a position for the related post. Perhaps it could run something like `p2p_update_meta()` and store the related post ID + position?