
A simple way to add related posts to another post.
You can easily change the public view by using this filter : SFT_related_item_content filter.
<?php add_filter ( 'SFT_related_item_content' , /** * $itm_container : The current view of related posts . * $connected_relations : Array with all related post items ID's . * $atts : Short code attributes. */ function ( $itm_container , $connected_relations , $atts ) { // The current post id. $post_id = $atts[ 'post_id' ]; // Parent related items container element (set on short code). $container = $atts[ 'container' ]; // Parent related items container class element (set on short code). $container_class = $atts[ 'container_class' ]; // Related item container element (set on short code). $item_container = $atts[ 'item_container' ]; // Related item container title element (set on short code). $item_title_container = $atts[ 'item_title_container' ]; // Related item container class element (set on short code). $item_container_class = $atts[ 'item_container_class' ]; // Related item show title (set on short code as string "true" or "false"). $item_show_title = $atts[ 'item_show_title' ]; // Related item show date (set on short code as string "true" or "false"). $item_show_date = $atts[ 'item_show_date' ]; // Related item show author (set on short code as string "true" or "false"). $item_show_author = $atts[ 'item_show_author' ]; // Related item show feature image (set on short code as string "true" or "false"). $item_show_feature_image = $atts[ 'item_show_feature_image' ]; // Related item show excerpt image (set on short code as string "true" or "false"). $item_show_excerpt = $atts[ 'item_show_excerpt' ]; // Related item show content image (set on short code as string "true" or "false"). $item_show_content = $atts[ 'item_show_content' ]; // Post related taxonomies container element (set on short code) $item_terms_container = $atts['item_terms_container']; // Post related taxonomies container class element (set on short code). $item_terms_container_class = $atts['item_terms_container_class']; // Post related taxonomy term item container element (set on short code) $item_term_container = $atts['item_term_container']; // Post related taxonomy term item container class element (set on short code). $item_term_container_class = $atts['item_term_container_class']; // you can overwrite post related item view here ... return $itm_container; } , 10 , 3 ); If someone has an a idea or suggestion of a new plugin feature I’m glad to hear it and probably will be implemented in the new versions.
Starting from $0 per month.
Rating
Reviewers
No reviews
Tags
Developed By
franciscopalacios
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
Contact Form plugins for Wordpress
Maps plugins for Wordpress
Translation plugins for Wordpress
Chat plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Contact plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Forms plugins for Wordpress
Comments plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Comments plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Portfolio plugins for Wordpress
Video Player plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Inventory plugins for Wordpress
Testimonials plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Analytics plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Security plugins for Wordpress
Ads plugins for Wordpress
Music Player plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Membership plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Video Player plugins for Wordpress
Tabs plugins for Wordpress
Social Feeds 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 RSS feed updates with an RSS feed slider that auto updates, displays posts in a smooth layout, and keeps visitors engaged.
Display a cookies consent bar that explains usage and supports GDPR compliance, enhancing user trust and legal clarity.
Show TikTok videos with a TikTok carousel that arranges clips in a smooth, customizable layout to boost engagement and keep visitors watching.
Showcase visuals with a multi row image slider that displays images in layered rows, improves design, and helps visitors explore content more easily.
Collect user insights with a feedback form that gathers valuable input, improves user experience, and helps you understand visitor needs more clearly.
Use a countdown to download widget that reveals files after the timer ends, builds anticipation, and guides visitors toward higher engagement.
Enhance titles with highlighted headlines that use custom colors, animations, and styles to draw attention and help visitors notice key messages.
Use social media links with sticky buttons that keep your profiles visible, boost engagement, and help promote your content more effectively across your site.
Add announcements to your site to share important updates, keep visitors informed, and guide them toward actions that support engagement and conversions.
Present dishes with restaurant menu flip cards that highlight key details, help visitors explore options easily, and support confident ordering decisions.
Collect user insights with a feedback popup that reveals issues early, improves user experience, and captures valuable leads through a clear feedback form.
Use a Lottie player to embed lightweight JSON animations that improve visual design, keep pages fast, and create a smoother user experience.
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!
