Banner for Relation Post Types
This plugin allow to build relation between 2 custom types (posts, page, custom), very useful for manage related content on CMS type website. Wordpress Tutorial
Noted That:
  • To install correctly this relation-post-types.zip .
  • Fisrt Download the relation-post-types.zip to your computer
  • Extract/Open relation-post-types.zip to Your Computer.
  • Then, Find readme.txt file inside relation-post-types.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.
Start the Tips:

Step-1 : Download " relation-post-types.zip " to Your Local Computer.

Step-2 : Then, Login to your " yourdomain.com/wp-admin " Dashboard.

Login to Wordpress Relation Post Types

Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.

Go to Plugin Install Relation Post Types

Step-4 : Now, Click on " Upload Plugin " button.

Click Upload Button Relation Post Types

Step-5 : Now, Browse " relation-post-types.zip " Downloaded plugin from your computer, Where you downloaded " relation-post-types.zip " According to Step – 1 Above then, click on " Install Now "

Upload Plugin Relation Post Types

Step-6 : Now, Click on " Active Plugin "

Activate Relation Post Types

Step-7 : Then, See left Side Menu. " Relation Post Types " folder is added on left Side Menu. Now, Click on " Relation Post Types " folder.

Noted that: If you do not see " Relation Post Types " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ".

Step-8 : Now you configure yourself oR Watch video tutorial below about Relation Post Types Configurations and Settings or How to work " Relation Post Types " in your WordPress site.

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Relations Post Types " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Relations Post Types
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  1. Download, unzip and upload to your WordPress plugins directory
  2. Activate the plugin within you WordPress Administration Backend
  3. Go to Settings > Relations and enable relation between post type.

Display relations in its theme

Example, display 5 related pages in your single.php template :



= 1 ) { $related_pages = query_posts( array( 'post_type' =>
 'page', 'post_status' =>
 'publish', 'posts_per_page' =>
 5 'post__in' =>
 $related_pages_ids, 'orderby' =>
 'post_date', 'order' =>
 'DESC', ) ); echo 'Related pages' . "\n"; echo '
' . "\n";
}
?>


Name