![[NPC] Neatek Post Connect (many-to-many)](https://uploads.commoninja.com/searchengine/wordpress/npc-neatekpostconnect.png)
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.
Starting from $0 per month.
Rating
Reviewers
1 reviews
Tags
Developed By
neatek
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Show Mastodon posts in a live Mastodon feed that keeps content fresh, strengthens your social presence, and helps visitors engage with your updates.

Show Blogger posts automatically with a Blogger feed that keeps your content fresh, improves navigation, and helps visitors discover more of your work.
Add customizable content cards to your site to display structured information clearly with flexible layout and design options.
Use an order form to let customers submit product orders, save entries, receive notifications, and collect payments through PayPal or Stripe for a smoother buying experience.
Show your latest TikTok videos in a live feed that keeps content fresh, builds social proof, and keeps visitors engaged.
Show payment method logos that highlight accepted payment options, build trust at checkout, and help visitors feel confident completing their purchase.
Add a unified chat tool to your site that connects users via WhatsApp, Messenger, Telegram, or email for seamless support.
Detect ad blockers on your site to maintain visibility into user behavior and support sustainable ad-based monetization.
Add interactive stories to your site to showcase content in a visual, mobile-friendly format that boosts engagement and guides visitors toward action.
Present your team with a structured team member list that builds trust, supports credibility, and helps visitors connect with the people behind your brand.
Use an image accordion to show pictures in collapsible panels that save space, highlight key visuals, and keep visitors engaged.
Showcase visuals with an image grid slider that blends a grid layout and carousel motion to create a dynamic, customizable, mobile-friendly display.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
