Efficient many-to-many connections between posts, pages and custom post types.
As of April 2026, Posts 2 Posts Relationships is a WordPress many-to-many plugin with 40 active installations and a 5/5 rating from 1 reviews. It has been downloaded 1.6K+ times in total. Requires WordPress 4.7+ and PHP 5.5+. Available on WordPress.org since 2021. Last updated 4 years ago — may have compatibility concerns. Top alternative: Posts 2 Posts.
This plugin allows you to create many-to-many relationships between posts of any type: post, page, custom post types, etc.
Configure post 2 post connections easily in a friendly interface.
The new connection metaboxes will appear on the related post edition pages. Search text, post type and term combo filter available as option for it.
Use the standard WP_Query() and get_posts() to get the related posts.
Solid-rock relationships: use his own database table, updated on post status change and removed on post deletion.
// inside main loop, current post ID (p2p_rel_post_id) not needed, current post will be used if you don't set it:
$args = array(
'p2p_rel_key' => 'prod_to_bars', // This is your connection key name. Required.
'p2p_rel_post_…| WordPress | 4.7+ requiredTested up to 5.8.13 |
| PHP | 5.5+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.