Title: [Plugin: Posts 2 Posts] &quot;current&quot; to &quot;past&quot; data fields
Last modified: August 20, 2016

---

# [Plugin: Posts 2 Posts] "current" to "past" data fields

 *  Resolved [Jon Dingman](https://wordpress.org/support/users/jdingman/)
 * (@jdingman)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-current-to-past-data-fields/)
 * Is there a way to easily move between a “current” and “past” data fields?
 * use case:
 * Our company currently offers Product1, Product2, and Product3
 * Then display “Current Products”
 * After a few years, we only offer Product2, and Product3
 * Is there a way to move Product1 to a “past products” association? Or is the solution
   that I just have remove it from one and add it to the other (I’m trying to look
   at it from the aspect that I may not always have control to do this from the 
   UI, and may need to do it programmatically via other controls)
 * OR, can this be done via dates? if ( product_lifespan < current_time ) { move
   to past products }
 * [http://wordpress.org/extend/plugins/posts-to-posts/](http://wordpress.org/extend/plugins/posts-to-posts/)

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

 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-current-to-past-data-fields/#post-2912342)
 * What are products associated to?
 *  Thread Starter [Jon Dingman](https://wordpress.org/support/users/jdingman/)
 * (@jdingman)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-current-to-past-data-fields/#post-2912344)
 * If the Products are associated to a Company
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-current-to-past-data-fields/#post-2912405)
 * Well, I guess having another connection type for past products would be the cleanest.
 * See [https://github.com/scribu/wp-posts-to-posts/wiki/Creating-connections-programatically](https://github.com/scribu/wp-posts-to-posts/wiki/Creating-connections-programatically)
 *  Thread Starter [Jon Dingman](https://wordpress.org/support/users/jdingman/)
 * (@jdingman)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-current-to-past-data-fields/#post-2912408)
 * I think that code should be able to do what I want, I’ll toy around with it and
   report back with any questions.
 * Thanks Scribu 🙂

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

The topic ‘[Plugin: Posts 2 Posts] "current" to "past" data fields’ 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/)

## Tags

 * [Historical](https://wordpress.org/support/topic-tag/historical/)

 * 4 replies
 * 2 participants
 * Last reply from: [Jon Dingman](https://wordpress.org/support/users/jdingman/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-current-to-past-data-fields/#post-2912408)
 * Status: resolved