Posts 2 Posts

Wordpress Plugin
Download latest - 1.7

Developers

stiofansisland
scribu

Download Stats

Today 22
Yesterday 101
Last Week 609
All Time 155,063
Banner 772x250

This plugin allows you to create many-to-many relationships between posts of any type: post, page, custom etc. A few example use cases:

  • manually curated lists of related posts
  • post series
  • products connected to retailers
  • etc.

Additionally, you can create many-to-many relationships between posts and users. So, you could also implement:

  • favorite posts of users
  • multiple authors per post
  • etc.

Support & Maintenance

AyeCode Ltd have committed to security and maintenance updates due to this plugins requirement in our List Manager Extension.

~~I, scribu, will not be offering support (either free or paid) for this plugin anymore.~~

If you want to help maintain the plugin, fork it on github and open pull requests.

Links: Documentation | Plugin News | Author's Site


Releases (30 )

Version Release Date Change Log
1.7 2022-05-23
  • Update Mustache package to support PHP 8.
1.6.6 2020-07-29
  • AyeCode Ltd have committed to security and maintenance updates - INFO
  • Deprecated PHP notices showing with latest WordPress - FIXED
1.6.5 2015-10-13
  • fixed error when Mustache is already loaded. props ApatheticG
  • fixed WP_User_Query warning. props PatelUtkarsh
  • added Chinese translation. props iwillhappy1314
1.6.4 2015-06-11
  • added Danish translation. props phh
  • updated Swedish translation. props EyesX
  • fixed issue with multiple parse_query calls. props hezachenary
  • added p2p_post_admin_column_link and p2p_user_admin_column_link filters. props PareshRadadiya
1.6.3 2014-04-02
  • added Serbian translation. props Borisa Djuraskovic
  • fixed spinner in admin box. props yamablam
  • fixed JavaScript error related to Backbone. props ericandrewlewis
  • made 'p2p_connected_title' filter work for users too. props MZAWeb
  • added support for 'dropdown_title' labels. props GaryJones
  • made get_related() consider all connected items
1.6.2 2013-08-19
  • fixed URL query handling. props ntns
  • store WP_Error instance instead of calling trigger_error(). props MZAWeb
  • fixed warning when used with Multilingual Press. props dimadin
  • introduced p2p_connected_title filter. props petitphp
1.6.1 2013-05-30
  • fixed user column handling. props versusbassz
  • fixed PHP strict standards warnings. props meloniq
  • added Estonian translation. props RistoNiinemets
  • added Finnish translation. props danielck
1.6 2013-05-10
  • introduced p2p_candidate_title filter
  • introduced JavaScript API
  • added Japanese translation
  • various refactorings
1.5.2 2013-04-25
  • fixed get_prev() and get_next()
  • introduced get_adjacent_items()
  • fixed admin column titles
  • made admin column titles show up before the post date. props luk3thomas
  • added 'help' key to 'from_labels' and 'to_labels' arrays. props tareq1988
1.5.1 2013-02-17
  • fix fatal error on activation. props benmay
1.5 2013-02-16
  • added admin dropdowns
  • fixed SQL error related to user connections
  • fixed 'labels' handling and added 'column_title' subkey
  • refactor metabox JavaScript using Backbone.js
  • lazy-load connection candidates, for faster page loads
  • lazy-load PHP classes using spl_register_autoload()
1.4.3 2012-11-24
  • various bug fixes
  • added 'inline' mode for shortcodes
  • replaced 'trash' icon with 'minus' icon
  • pass direction to 'default_cb'
1.4.2 2012-09-10
  • fixed each_connected() returning wrapped objects
  • fixed issue with user queries and get_current_screen()
  • fixed "Delete all connections" button
  • fixed bugs with reciprocal and non-reciprocal indeterminate connection types
  • added Dutch translation
1.4.1 2012-08-21
  • fixed errors in admin box
  • fixed each_connected()
1.4 2012-08-17
  • added 'p2p_init' hook
  • replaced 'View All' button with '+ Create connections' toggle
  • improved usability of connection candidate UI
  • fixed issues related to auto-drafts
  • show columns on the admin user list screen
1.3.1 2012-05-21
  • sanitize connection fields values on save, preventing security exploits
  • improved connection field default value handling
  • added 'default_cb' as an optional key when defining connection fields
  • fixed parameter order for 'p2p_admin_box_show' filter
  • pass the current post ID to the 'p2p_new_post_args' filter
1.3 2012-04-28
  • allow passing entire objects to get_connected(), connect() etc.
  • made get_related() work with posts-to-users connections
  • made each_connected() work with simple array of posts
  • introduced [p2p_connected] and [p2p_related] shortcodes
  • allow 'default' parameter in 'fields' array
  • more info
1.2 2012-04-07
  • added Tools -> Connection Types admin screen
  • fixed migration script
  • made p2p_get_connections() accept arrays of ids
  • added 'separator' parameter to p2p_list_posts()
  • made P2P_Directed_Type->connect() return WP_Error instances instead of just false
  • when a user is deleted, delete all the associated connections
  • fixed conflict with bbPress Topics for Posts plugin
  • more info
1.1.6 2012-03-14
  • convert "View All" tab into button
  • refresh candidate list after deleting a connection
  • fix cardinality check
  • introduce 'p2p_connection_type_args' filter
  • make 'connected_type' accept an array of connection type names
  • inadvertently remove support for queries without 'connected_type' parameter
1.0.1 2011-11-22
  • don't show metabox at all if user doesn't have the required capability
  • fix checkbox handling when there are no other input fields
  • improve metabox styling
  • rename 'show_ui' to 'admin_box'
  • add 'admin_column' parameter
0.9.5 2011-10-21
  • add '{from|to}query_vars' args to p2p_registerconnection_type()
  • add 'cardinality' arg to p2p_register_connection_type()
  • add 'id' arg and p2p_type() function
  • introduce p2p_split_posts()
  • remove p2p_connect(), p2p_disconnect() and p2p_get_connected()
  • more info
0.9.2 2011-10-02
  • fix incorrect storage when creating a connection from the other end
  • respect 'reciprocal' => false when 'from' =
0.8 2011-08-17
  • added ability to create draft posts from the connection box. props Oren Kolker
  • show post status in the connection box. props Michael Fields
  • reduced number of queries by caching connection information
  • revamped p2p_each_connected()
  • introduced p2p_list_posts()
  • introduced 'connected_orderby', 'connected_order' and 'connected_order_num' query vars
  • more info
0.7 2011-06-21
  • improved UI
  • added 'fields', 'context' and 'prevent_duplicates' args to p2p_register_connection_type()
  • more info
0.6 2011-03-07
  • added p2p_each_connected()
  • fixed p2p_is_connected()
  • made p2p_get_connected() return p2p_ids even with `$direction
0.5.1 2011-01-21
  • fixed fatal error on Menus screen
0.4 2010-10-08
  • introduced 'connected_from', 'connected_to', 'connected' vars to WP_Query
  • replaced $reciprocal with $data as the third argument
  • p2p_register_connection_type() accepts an associative array as arguments
  • removed p2p_list_connected()
  • added p2p_delete_connection()
  • more info
0.3 2010-09-09
  • store connections using a taxonomy instead of postmeta
  • more info
0.2 2010-07-15
  • added p2p_list_connected() template tag
  • UI that supports multiple related posts. props Patrik Bn
  • more info
0.1 2010-05-13
  • initial release
  • more info