[NPC] Neatek Post Connect (many-to-many)

from 0$

[NPC] Neatek Post Connect (many-to-many) is a WP Plugin Package from the Open Source WP Plugins range This plugin can make Many-To-Many connections of posts.


For more information about a tailored WP Plugin Package like [NPC] Neatek Post Connect (many-to-many) please contact us directly.

This plugin can make Many-To-Many connections of posts (also custom posts),
you can setup it in wp-admin/options-general.php?page=neatek-posts-connects

Plugin supports English and Russian languages.

Snippet to get connected posts:

<?php
    // $post_id = get_the_id();
    $query = npc_query_connected($post_id, 'needed_post_type');
    while($query->have_posts()) {
        $query->the_post();
        the_title();
    }
?>

It will get all connected posts with posttype ‘needed_post_type’ for $post_id ID Post.
Also, you can get_posts() connected posts.

<?php
    // $post_id = get_the_id();
    $c_posts = npc_get_connected($post_id, 'needed_post_type');
    var_dump($c_posts);
?>

You can modify WP_Query or get_posts() args:

<?php
    $args = array(
        'posts_per_page' => 5
    );
    // $post_id = get_the_id();
    $c_posts = npc_get_connected($post_id, 'needed_post_type', $args);
?>

Or you can just get IDS of connected posts:

<?php
    // $post_id = get_the_id();
    $ids = npc_get_post_ids($post_id, 'needed_post_type');
    var_dump($ids);
?>

Important: Do not use ‘numberposts’, use ‘posts_per_page’.

The best alternative for:
https://ru.wordpress.org/plugins/posts-to-posts/

Thank you for using my plugin.

Download & install the zip archive

The plugin package installer can be downloaded from the WP2E project tab called “code”.

1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.

2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.

3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.

Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.

[NPC] Neatek Post Connect (many-to-many)

typePlugin
version1.0.2
descriptionThis plugin can make Many-To-Many connections of posts.