🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Conta Get it free
Posts 2 Posts Relationships icon
Possivelmente abandonado Tested up to 5.8.20 #75 in custom post types

Posts 2 Posts Relationships

This plugin allows you to create many-to-many relationships between posts of any type: post, page, custom post types, etc.

Instalações ativas30+10+ nível
Downloads · 30d117▲ +88.7% vs prev. 30d
Classificação5/51 comentários
Pontuação da saúde31/100Em risco
Downloads de todos os tempos2.3KSince Jul 2021
Suporte resolvido—Sem tópicos recentes
RequerWP 4.7PHP 5.5+
Downloads · 7d22▼ -26.7% week over week
Nosso veredicto

Considere uma alternativa

Posts 2 Posts Relationships shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites, is rated 5/5 and was last updated 5 years ago, and scores 31/100 on our health check.

  • Base de usuários pequenas (mais de 30 instalações ativas)
  • Muito poucos comentários até agora
  • Nenhuma atualização em 5 anos
  • Testado apenas até WordPress 5.8 (mais recente é 7.1)

Como ele se acumula?

Lado a lado em instalações, atualizações, avaliações e suporte

Downloads diários

369Sep 1Oct 15Nov 29
Ontem5
Média diária (1y)2
Dia de pico155 de maio de 2026
Últimos 12 meses905

Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.

Rankings

Where Posts 2 Posts Relationships stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
Tipos de postagem personalizados >100 10,000 Os melhores plugins personalizados de tipos de postagem →
many-to-many >100 10,000 Best many-to-many plugins →
posts 2 posts >100 9,809 Best posts 2 posts plugins →
posts relationships >100 879 Best posts relationships plugins →
posts to posts >100 10,000 Best posts to posts plugins →

Adoção da versão

Compartilhamento de sites ativos por lançamento.

  • 1.0100.0%

Divisão de classificação

★★★★★ ★★★★★ 5 de 1 comentários

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Posts 2 Posts Relationships

Do Readme oficial · v1.0.0

Descrição

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.

Getting related: the WP_Query way

// 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_id'    => 1,               // The post ID. Inside main loop dont needed.
    'p2p_rel_direction'  => 'any',           // The connection direction. 'any' by default. Optional. Explained below. ( can be 'any' | 'from_to' | 'to_from' )

    // Of course, here you can add the standard WP arguments you need: post type, status, dates, pagination, etc.
); 

// (at this point, as any other WP looping):

// The Query 
$the_query = new WP_Query( $args );

// The Loop
if ( $the_query->have_posts() ) {
    echo '<ul>';
    while ( $the_query->have_posts() ) {
        $the_query->the_post();
        echo '<li>' . get_the_title() . '</li>';
    }
    echo '</ul>';
} else {
    // no posts found
    echo '<p>Nothing related</p>';
}

// Restore original Post Data 
wp_reset_postdata();

Getting related: the get_posts() way

// 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_id'    => 1,              // The post ID. Inside main loop dont needed
    'p2p_rel_direction'  => 'any',          // The connection direction. 'any' by default. Optional. Explained below. ( can be 'any' | 'from_to' | 'to_from' )
    'post_type'          => 'any',          // The filtered post types, can be an array. Optional. 'post' by default. (can be 'any' for all)
    'suppress_filters'   => false           // Required

    // Of course, here you can add the standard WP arguments you need: post type, status, dates, pagination, etc.
); 

// (at this point, as any other WP looping):

$rel_posts = get_posts ( $args );

print_r( $rel_posts );

Getting related: getting it raw

// inside main loop, current post ID (element_id) not needed, current post will be used if you don't set it:

$args = array(
    'key'           => 'prod_to_bars',  // This is your connection key name. Required.
    'element_id'    => 1,               // The post ID. Inside main loop dont needed.
    'element_type'  => 'any',           // The filtered post types, can be an array. Optional. 'post' by default. (can be 'any' for all)
    'status'        => 'any'            // The filtered post status, can be an array. Optional. 'publish' by default. (can be 'any' for all)
    'direction'     => 'any',           // The connection direction. 'any' by default. Optional. Explained below. ( can be 'any' | 'from_to' | 'to_from' )
); 

global $P2P_Relationships;
$rel_posts = $P2P_Relationships->get_raw ( $args );

// Only an array of related post IDs, not the posts objects.
print_r ( $rel_posts ); 

The connection direction

By default, the connections are bidirectional (any). However, you can get related posts only in one direction: ‘from_to’ or ‘to_from’.

You can do the same logic at interface level for your users in the backoffice: you can setup your connection hidding the from metabox or the to metabox (UI mode setting).

Instalação

See Installing Plugins.

After activating it, go to Settings > P2P Relationships, and create your new post 2 post connections.

Log de Changes

1.0.0 – 2021-07-19

  • Checked for WordPress 5.8
  • Added warning and removal option for orphan relationships
  • Text-domain changed to the same as plugin slug: posts-2-posts-relationships

0.0.2 – 2021-07-13

  • Solved admin pane layout broken issue

0.0.1 – 2021-07-07

  • Hello world!

Registro de change completo em WordPress.org →

Capturas de tela

Relations settings
Relations settings
Relation settings (details)
Relation settings (details)
Relationships metaboxes on custom post type edition
Relationships metaboxes on custom post type edition

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.

Selo de Instalações Ativas Selo de classificação Distintivo de pontuação de saúde

Best Posts 2 Posts Relationships alternatives

All custom post types plugins →
Alternativas
Classificação Plugin Instalações ativas Classificação Atualizada Saúde
1 IU do tipo de postagem personalizada IU do tipo de postagem personalizada Admin UI for creating custom content types like post types and taxonomies by webdevstudios 1M+ ★★★★★★★★★★ 4.6 (276) 5 meses atrás 81
2 Meta Box – uma estrutura para sites dinâmicos Meta Box – uma estrutura para sites dinâmicos Developer framework to create custom fields and meta boxes with code. No admin UI: for a… by Meta Box 500K+ ★★★★★★★★★★ 4.8 (165) 2 dias atrás 91
3 Pods – tipos e campos de conteúdo personalizados Pods – tipos e campos de conteúdo personalizados O Pods é uma estrutura para criar, gerenciar e implantar tipos de conteúdo personalizados e… Por Scott Kingsley Clark 100K+ ★★★★★★★★★★ 4.8 (418) 3 meses atrás 88
4 Caixa de ferramentas de Sydney Caixa de ferramentas de Sydney Registra tipos de postagem personalizados e campos personalizados para o tema de Sydney Por Syed Balkhi 50K+ ★★★★★★★★★★ 2.2 (16) 2 meses atrás 71
5 Visualização de página da árvore do CMS – reordene as páginas com uma árvore de arrastar e soltar Visualização de página da árvore do CMS – reordene as páginas com uma árvore de arrastar e soltar Veja cada página como uma árvore de arrastar e soltar. Reordene a estrutura do seu site em segundos — edite… Por Pär Thernström 50K+ ★★★★★★★★★★ 4.9 (365) 4 dias atrás 95
6 Apollo13 Framework Extensions Apollo13 Framework Extensions Adds custom post types, shortcodes and some features that are used in themes built on… by apollo13themes 20K+ ★★★★★★★★★★ 5 (1) 4 dias atrás 80
7 Essential Content Types Essential Content Types Essential Content Types allows you to feature the impressive content through different… por temas de captura 20K+ ★★★★★★★★★★ 3.7 (3) 2 semanas atrás 76
8 Tipos de postagem personalizados e criador de campos personalizados – WCK Tipos de postagem personalizados e criador de campos personalizados – WCK Uma ferramenta obrigatória para criar campos personalizados, tipos de postagem personalizados e taxonomias, rápido e… por madalin.unureanu 10K+ ★★★★★★★★★★ 4.7 (97) 3 semanas atrás 89
9 Post Types Unlimited Post Types Unlimited Create unlimited custom post types and custom taxonomies. by WPExplorer 10K+ ★★★★★★★★★★ 5 (9) 7 meses atrás 57
10 Gravity Forms + Custom Post Types Gravity Forms + Custom Post Types Map your Gravity-Forms-generated posts to a custom post type and/or custom taxonomies. by Dave from Gravity Wiz 10K+ ★★★★★★★★★★ 4.4 (46) 2 meses atrás 72

FAQ

Posts 2 Posts Relationships: quick answers

Respostas diretas, extraídas de dados ao vivo WordPress.org.

Fonte: WordPress.org

Is Posts 2 Posts Relationships free?

Yes. Posts 2 Posts Relationships is free to download and use from the official WordPress.org plugin directory.

Is Posts 2 Posts Relationships safe to use in 2026?

Posts 2 Posts Relationships shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites, is rated 5/5 and was last updated 5 years ago, and scores 31/100 on our health check.

How many websites use Posts 2 Posts Relationships?

Posts 2 Posts Relationships is active on 30+ WordPress websites and has been downloaded 2,324 times since it launched in July 2021. It was downloaded 117 times in the last 30 days.

Does Posts 2 Posts Relationships work with WordPress 7.1?

Posts 2 Posts Relationships is officially tested up to WordPress 5.8.20, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Posts 2 Posts Relationships need?

Posts 2 Posts Relationships requires PHP 5.5 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Posts 2 Posts Relationships last updated?

The latest version, 1.0.0, was released on July 19, 2021 (5 years ago).

Who makes Posts 2 Posts Relationships?

Posts 2 Posts Relationships is developed and maintained by wp-centrics.

What are the best alternatives to Posts 2 Posts Relationships?

The most popular alternatives to Posts 2 Posts Relationships are Custom Post Type UI (1M+ installs), Meta Box (500K+ installs) and Pods (100K+ 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

↑↓ mover↵ abrir