![[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.
Present dishes with restaurant menu flip cards that highlight key details, help visitors explore options easily, and support confident ordering decisions.
Transform PDFs into interactive flipbooks with a PDF flipbook widget that improves reading and keeps visitors engaged.
Use product blobs to highlight key items, draw attention to featured products, and guide visitors toward faster and more confident purchase decisions.
Create immersive 360 virtual tours with interactive hotspots that let visitors explore spaces, view details clearly, and experience panoramic environments seamlessly.
Showcase visuals with an image slider that displays multiple images in a smooth slideshow, improves design, and keeps visitors engaged.
Use skill flip cards to showcase your abilities in a clear, interactive format that strengthens your profile and improves your chances of getting hired.
Showcase images with an image carousel that rotates or slides visuals, improves design, and draws attention to key content.
Show Medium articles in a Medium feed that keeps content fresh, improves readability, and helps visitors discover more posts.
Use a timeline widget to display events and milestones in chronological order with images and text so visitors understand your story clearly.
Add a currency converter to your site so users can view equivalent values in their local currency for easier global access.
Create interactive maps with color coding and tooltips to visualize data clearly and embed engaging maps on your site.
Create interactive video polls that use engaging clips to boost participation, gather insights, and help visitors vote in a more dynamic way.
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!
