Title: Softmixt Relations
Author: Baghina Radu Adrian
Published: <strong>2 ਜੁਲਾਈ 2017</strong>
Last modified: 8 ਮਈ 2018

---

ਪਲੱਗਇਨਾਂ ਖੋਜੋ

![](https://ps.w.org/softmixt-relations/assets/banner-772x250.png?rev=1689261)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/softmixt-relations/assets/icon-256x256.png?rev=1689260)

# Softmixt Relations

 [Baghina Radu Adrian](https://profiles.wordpress.org/softmixt/) ਵੱਲੋਂ

[ਡਾਊਨਲੋਡ ਕਰੋ](https://downloads.wordpress.org/plugin/softmixt-relations.zip)

 * [ਵੇਰਵਾ](https://pan.wordpress.org/plugins/softmixt-relations/#description)
 * [ਸਮੀਖਿਆਵਾਂ](https://pan.wordpress.org/plugins/softmixt-relations/#reviews)
 *  [ਸਥਾਪਤੀਕਰਨ](https://pan.wordpress.org/plugins/softmixt-relations/#installation)
 * [ਵਿਕਾਸ](https://pan.wordpress.org/plugins/softmixt-relations/#developers)

 [ਸਹਿਯੋਗ](https://wordpress.org/support/plugin/softmixt-relations/)

## ਵੇਰਵਾ

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
    );
    ```

### Suggestions

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.

## ਸਕਰੀਨਸ਼ਾਟ

 * [[
 * The relations are made from a “Post Relations” metabox by clicking on “+” icon
   this action will insert you connection into “Posts related”
 * [[
 * If you have a lot of post items or connections you can easily filter by name 
   or post type.
 * [[
 * You can insert your connection into your post content by using the tinyMCE new
   button.
 * [[
 * When you click on tinyMCE connections button you will bring up a new popup where
   you can set : “Container element”, “Custom container class”, “Item container 
   element”, “Item container title element”, “Custom class item”, “Show post meta”
 * [[
 * After tinyMCE modal submitted , an a “shortcode” automatically is created and
   is inserted into the WP Content.
 * [[
 * A basic public view of your post relations.
 * [[
 * [[
 * [[
 * [[
 * [[
 * [[

## ਸਥਾਪਤੀਕਰਨ

This section describes how to install the plugin and get it working.
 1. Upload 
the plugin files to the `/wp-content/plugins/softmixt-relations` directory, or install
the plugin through the WordPress plugins screen directly. 2. Activate the plugin
through the ‘Plugins’ screen in WordPress

## ਅਕਸਰ ਪੁੱਛੇ ਜਾਂਦੇ ਸਵਾਲ

  Can I overwrite related items public view ?

Yes, you can overwrite you related items public view by using ‘SFT_related_item_content’
filter , check Description section.

  Can I show one related posts to other post ?

Yes, you can show other post relations by adding an optional “post_id” attribute
to your shortcode.

  Can I easily sort my relations

Yes, you can sort your posts related connection by dragging items on “Post Related”
section.

  Can I select related post taxonomies as categories, terms ?

Yes, you can toggle related post and select taxonomies you want to have in front.

## ਸਮੀਖਿਆਵਾਂ

There are no reviews for this plugin.

## ਯੋਗਦਾਨੀ ਤੇ ਵਿਕਾਸਕਾਰ

“Softmixt Relations” is open source software. The following people have contributed
to this plugin.

ਯੋਗਦਾਨੀ

 *   [ Baghina Radu Adrian ](https://profiles.wordpress.org/softmixt/)
 *   [ franciscopalacios ](https://profiles.wordpress.org/franciscopalacios/)

[“Softmixt Relations” ਦਾ ਆਪਣੀ ਭਾਸ਼ਾ ਵਿੱਚ ਅਨੁਵਾਦ ਕਰੋ।](https://translate.wordpress.org/projects/wp-plugins/softmixt-relations)

### ਵਿਕਾਸ ਕਾਰਜ ਵਿੱਚ ਰੁਚੀ ਰੱਖਦੇ ਹੋ?

[Browse the code](https://plugins.trac.wordpress.org/browser/softmixt-relations/),
check out the [SVN repository](https://plugins.svn.wordpress.org/softmixt-relations/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/softmixt-relations/)
by [RSS](https://plugins.trac.wordpress.org/log/softmixt-relations/?limit=100&mode=stop_on_copy&format=rss).

## ਤਬਦੀਲੀ-ਚਿੱਠਾ

#### 1.0.1

 * SFT Relations widget added
 * Custom container item title element added , now we can change post title element
   type .If none is set then there will be no element for title.

#### 1.0.0

 * First Stable Release

## ਮੈਟਾ

 *  Version **2.0.0**
 *  Last updated **8 ਸਾਲ ਪਹਿਲਾਂ**
 *  Active installations **10 ਤੋਂ ਘੱਟ**
 *  WordPress version ** 4.6 ਜਾਂ ਇਸ ਤੋਂ ਉੱਚਾ **
 *  Tested up to **4.8.28**
 *  Language
 * [English (US)](https://wordpress.org/plugins/softmixt-relations/)
 * Tags
 * [post relation](https://pan.wordpress.org/plugins/tags/post-relation/)[posts](https://pan.wordpress.org/plugins/tags/posts/)
   [related](https://pan.wordpress.org/plugins/tags/related/)[relations](https://pan.wordpress.org/plugins/tags/relations/)
 *  [Advanced View](https://pan.wordpress.org/plugins/softmixt-relations/advanced/)

## ਦਰਜਾਬੰਦੀ

No reviews have been submitted yet.

[ਮੇਰੀ ਸਮੀਖਿਆ ਜੋੜੋ](https://wordpress.org/support/plugin/softmixt-relations/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/softmixt-relations/reviews/)

## ਯੋਗਦਾਨੀ

 *   [ Baghina Radu Adrian ](https://profiles.wordpress.org/softmixt/)
 *   [ franciscopalacios ](https://profiles.wordpress.org/franciscopalacios/)

## ਸਹਿਯੋਗ

ਕੁਝ ਕਹਿਣਾ ਹੈ? ਮਦਦ ਚਾਹੀਦੀ ਹੈ?

 [ਸਹਿਯੋਗ ਫੋਰਮ ਦੇਖੋ](https://wordpress.org/support/plugin/softmixt-relations/)