- Active installs
- 1k+
- 5 ratings
- 4.6
- Last updated
- 2 months ago
- Version
- 1.14.0
- Tested up to
- WP 7.1.5
About this plugin
MB Relationships helps you create relationships between posts, pages, custom post type, terms and users. The plugin is lightweight and optimized for database and query performance.
The plugin allows you to create connections from posts to posts, posts to pages and so on. Then you can perform corresponding queries to retrieve posts that are connected to or from given posts.
Meta Box Lite
We recommend using Meta Box Lite, a feature-rich free UI version of Meta Box that provides UI and all free features for managing custom fields and dynamic content on WordPress, including post types, taxonomies, custom fields, and relationships.
It supports reciprocal and bi-directional relationships.
Why Do You Need Posts To Posts Relationships In WordPress?
Post relationships is a missing part in WordPress. The only “built-in” way that mimic the post relationship in WordPress is the post_parent for pages where you can create many child pages of a page (a one-to-many relationship). Unfortunately, that’s available for pages and hierarchical post types only. Besides, it’s not many-to-many relationship.
Below are some examples of posts to posts relationships that might help you see the benefit of this feature:
Creating Related Posts In WordPress
The simplest example is to manually create related posts in your WordPress website. When you edit a post, you can select posts that have similar or related content and display them in the frontend for further reading.
You can also query backward: displaying posts that link to the being read post as a reference to provide more information to your readers. With this, you don’t need a WordPress related posts plugin anymore.
Example: Events And Bands
Suppose you have two custom post types, event and band, where:
- In each event there may be multiple bands, and
- Each band can participate in many events.
If people want to buy tickets, they could search for events in their location and see what bands are playing on a given date, or they could search for bands they like and see what date they are playing near their location.
In this example, we have created many-to-many relationships between events and bands.
Bi-directional relationships
MB Relationships allows you to create bi-directional connections. You will be able to query back and forth without any problem.
The data is stored in the database as a pair of (from_id, to_id), thus making it independent from either side.
Besides, for each side, there’s a meta box that shows what are connected from/to. So you don’t have to worry about the direction of the connection anymore.
An Alternative For The Posts 2 Posts Plugin (P2P Plugin)
MB Relationships is very much inspired by the popular plugin Posts 2 Posts which is not maintained anymore. We have taken the idea and made some improvements. The codebase and data structure is very similar.
Plugin features
- Simple APIs: the plugin provides simple APIs for registering relationships and retrieving connected items. It integrates with existing WordPress APIs such as
WP_Query,get_termsandget_users. See documentation for more information. - Uses custom relationship table to store relationships. That helps optimize the database storage and query performance.
- You can create relationships between any kind of content in WordPress: posts to posts, posts to users, etc. For posts to terms and posts to users, it’s required the MB Term Meta and MB User Meta.
- Supports creating reciprocal relationships (posts-posts, users-users, …).
- Supports creating bi-directional relationships and easily query them.
- Display connected items easily with shortcode.
- Extremely lightweight and fast.
Plugin Links
This plugin is a free extension of Meta Box plugin, which is a powerful, professional solution to create custom fields and custom meta boxes for WordPress websites. Using MB Relationships in combination with other extensions will help you manage any content types in WordPress easily and make your website more professional.
You might also like
If you like this plugin, you might also like our other WordPress products:
- Meta Box – A powerful WordPress plugin for creating custom post types and custom fields.
- Slim SEO – A fast, lightweight and full-featured SEO plugin for WordPress with minimal configuration.
- Slim SEO Schema – An advanced, powerful and flexible plugin to add schemas to WordPress.
- Slim SEO Link Manager – Build internal link easier in WordPress with real-time reports.
- GretaThemes – Free and premium WordPress themes that clean, simple and just work.
- Auto Listings – A car sale and dealership plugin for WordPress.
Screenshots
Analytics
Live from WordPress.org, refreshed daily. Last refresh Dec 1, 2026.
- Downloads on a typical day are down 10% on the month before.
- Passes every health check below.
Health checks
Everything a careful site owner looks at before installing.
- Actively maintained Last release 2 months ago
- Tested with current WordPress Tested up to 7.1.5
- Support questions answered Nothing open in the last two months
- Well rated 4.6 stars from 5 ratings
- Latest week
- 588
- Typical week
- 110
- Peak
- 1,642 Week of Oct 20
View as table
| Week | Downloads |
|---|---|
| Week of Nov 24 | 588 |
| Week of Nov 17 | 393 |
| Week of Nov 10 | 278 |
| Week of Nov 3 | 379 |
| Week of Oct 27 | 529 |
| Week of Oct 20 | 1,642 |
| Week of Oct 13 | 266 |
| Week of Oct 6 | 663 |
| Week of Sep 29 | 137 |
| Week of Sep 22 | 159 |
| Week of Sep 15 | 144 |
| Week of Sep 8 | 132 |
| Week of Sep 1 | 121 |
| Week of Aug 25 | 100 |
| Week of Aug 18 | 131 |
| Week of Aug 11 | 163 |
| Week of Aug 4 | 171 |
| Week of Jul 28 | 199 |
| Week of Jul 21 | 172 |
| Week of Jul 14 | 494 |
| Week of Jul 7 | 506 |
| Week of Jun 30 | 202 |
| Week of Jun 23 | 155 |
| Week of Jun 16 | 204 |
| Week of Jun 9 | 441 |
| Week of Jun 2 | 104 |
| Week of May 26 | 82 |
| Week of May 19 | 79 |
| Week of May 12 | 86 |
| Week of May 5 | 102 |
| Week of Apr 28 | 70 |
| Week of Apr 21 | 81 |
| Week of Apr 14 | 138 |
| Week of Apr 7 | 115 |
| Week of Mar 31 | 98 |
| Week of Mar 24 | 72 |
| Week of Mar 17 | 97 |
| Week of Mar 10 | 93 |
| Week of Mar 3 | 79 |
| Week of Feb 24 | 42 |
| Week of Feb 17 | 39 |
| Week of Feb 10 | 48 |
| Week of Feb 3 | 67 |
| Week of Jan 27 | 74 |
| Week of Jan 20 | 81 |
| Week of Jan 13 | 86 |
| Week of Jan 6 | 62 |
| Week of Dec 30, 2025 | 31 |
| Week of Dec 23, 2025 | 27 |
| Week of Dec 16, 2025 | 71 |
| Week of Dec 9, 2025 | 63 |
| Week of Dec 2, 2025 | 78 |
Not ranked yet. Install, download and rating ranks cover the 5,000 most popular plugins on WordPress.org, and Trending needs about 100 downloads on a typical day.
Reviews
From folks on WPFolks
No reviews from folks yet. Used it? Be the first to say how it went.
Latest on WordPress.org
The plugin itself seems powerful. However I wouldn’t know because it’s very difficult to use unless you’re a developer. Be aware that there is no UI with this plugin, it adds a capability to your site but you have to handle code to use it. The documentation…
The plugin itself seems powerful. However I wouldn’t know because it’s very difficult to use unless you’re a developer. Be aware that there is no UI with this plugin, it adds a capability to your site but you have to handle code to use it. The documentation…
👏🏽👏🏽👏🏽👏🏽👏🏽👏🏽👏🏽
The from> to> relationship abilities of this plugin are unique as it writes them in the database. Bravo to the developers!
Please read my support topic when you have available time. Thank you!
