MB Relationships
A lightweight solution for creating relationships between posts, terms, users and custom table models in WordPress.
Escolha sólida
MB Relationships is a solid plugin choice in 2026, with a few things worth checking first. It runs on 1K+ sites, is rated 4.6/5 and was last updated 2 months ago, and scores 76/100 on our health check.
- Testado com as últimas WordPress (7.1)
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where MB Relationships stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| connections | #20 |
| posts to posts | >100 |
| relationships | #1 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
Divisão de classificação
★★★★★★★★★★ 4.6 from 5 reviews
About MB Relationships
From the official readme · v1.14.0Descrição
MB Relationships helps you create relationships between posts, pages, custom post type, terms, users and custom table models. 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, posts to custom table models, etc. For posts to terms and posts to users, it’s required the MB Term Meta and MB User Meta. For custom table models (
object_type => model), it’s required MB Custom Table. - 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.
Você pode gostar também
Se você gosta deste plugin, você também pode gostar de nossos outros produtos WordPress:
- Slim SEO – um plugin SEO rápido, leve e completo para WordPress com configuração mínima.
- Falcon – Um companheiro leve para fazer WordPress mais rápido, mais limpo e mais seguro.
- GretaThemes – Grátis e premium WordPress Temas que limpam, simples e funcionam.
- Listas de automóveis – Um plugin de venda e concessionária de carros para WordPress.
Instalação
You need to install Meta Box plugin first
- Go to Plugins | Add New and search for Meta Box
- Click Install Now button to install the plugin
- After installing, click Activate Plugin to activate the plugin
Install MB Relationships extension
- Go to Plugins | Add New and search for MB Relationships
- Click Install Now button to install the plugin
- After installing, click Activate Plugin to activate the plugin
Log de Changes
1.14.0 – 2026-10-07
- Add support for custom table models (
object_type => model)
1.13.0 – 2026-07-16
Highlight:
Introducing has_one_relationship option — configure it per side (from/to) to limit an item to a connect to only one item on the other side. Combined on both sides it creates a one-to-one relationship; on one side only, it creates one-to-many without duplicates.
Read more on our blog or documentation
1.12.10 – 2026-07-06
- Fix conflict with
tax_queryineach_connected
1.12.9 – 2026-06-12
- Hide rest api endpoint in index
- Improve check for creating table
1.12.8 – 2025-07-15
Addmin filter: allow to remove selected choice
1.12.7 – 2025-01-15
Admin filter: add localization for select2 and fix select2 width (#91)
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best MB Relationships alternatives
All connections plugins →FAQ
MB Relationships: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is MB Relationships free?
Yes. MB Relationships is free to download and use from the official WordPress.org plugin directory.
Is MB Relationships safe to use in 2026?
MB Relationships is a solid plugin choice in 2026, with a few things worth checking first. It runs on 1K+ sites, is rated 4.6/5 and was last updated 2 months ago, and scores 76/100 on our health check.
How many websites use MB Relationships?
MB Relationships is active on 1K+ WordPress websites and has been downloaded 64,015 times since it launched in February 2018. It was downloaded 1,909 times in the last 30 days.
Does MB Relationships work with WordPress 7.1?
Yes. The developer has tested MB Relationships up to WordPress 7.1.5, the latest release. It requires WordPress 6.7 or newer.
What PHP version does MB Relationships need?
MB Relationships requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was MB Relationships last updated?
The latest version, 1.14.0, was released on October 7, 2026 (2 months ago).
Who makes MB Relationships?
MB Relationships is developed and maintained by Anh Tran.
What are the best alternatives to MB Relationships?
The most popular alternatives to MB Relationships are Posts 2 Posts (9K+ installs), BuddyPress Follow (1K+ installs) and Connections čeština (10+ installs).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito



