Horje
Improved Include Page plugin allows you to include the content of a page in a template file or a post/page (via a shortcode) with several options.

Noted That:

  • To install correctly this improved-include-page.zip .
  • Fisrt Download the improved-include-page.zip to your computer
  • Extract/Open improved-include-page.zip to Your Computer.
  • Then, Find readme.txt file inside improved-include-page.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:

1. First Download " improved-include-page.zip " Plugin to your Local Computer. (Click Download)

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

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " improved-include-page.zip "  Downloaded plugin from your computer, Where you downloaded improved-include-page.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " Improved Include Page " folder is added on left sidemenu. Now, Click on " Improved Include Page " folder.

   Noted that: If you do not see " Improved Include Page " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  Improved Include Page Configurtions and Settings or How to work " Improved Include Page " 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 " Improved Include Page " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Improved Include Page
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  1. Download Improved Include Page
  2. Extract the zipped archive
  3. Upload the file ‘iinclude_page.php’ to the ‘wp-content/plugins’ directory of your WordPress installation
  4. Activate the plugin from your WordPress admin ‘Plugins’ page.
  5. Include pages in your templates using ‘iinclude_page’ function or in your pages/posts using the shortcode syntax.

How To Use

Once installed, the plugin adds the function ‘iinclude_page’:

void iinclude_page (int post_id [,string params, boolean return = false])

The function takes three parameters:
1. the id of the page to include (‘post_id’)
2. an optional string (‘params’) which contains the display options
3. an optional boolean (‘return’) tells whether to return the content or display it on screen.

Example 1: using Shortcode API in posts or pages

You can include a page’s content in a page/post using the syntax:


[include-page id="123"]

or


[include-page id="3" displayTitle="true" displayStyle="DT_TEASER_MORE" titleBefore="

" titleAfter="

" more="continue»"]

Example 2: basic usage in templates

If you wish to include the content of page number ‘4’ insert the following code into your template file (e.g. sidebar.php):




or




In order to avoid PHP errors if the plugin is disabled, you should use the function with the following syntax:


 

Example 3: using optional parameters in templates

You can also display the page title using the following code:



' ); ?>

Parameters

The current version supports the following parameters:

displayTitle ( boolean )
toggle title display
titleBefore/titleAfter ( string )
string to display before and after the title
displayStyle ( integer constant )
one of the following:

  • `DT_TEASER_MORE` – Teaser with ‘more&’ link (default)
  • `DT_TEASER_ONLY` -Teaser only, without ‘more’ link
  • `DT_FULL_CONTENT` – Full content including teaser
  • `DT_FULL_CONTENT_NOTEASER` – Full content without teaser
more (string)
text to display for the ‘more’ link

include , page , shortcode , several , options , postpage , template , allows , content , improved ,

Name

Reffered: https://wordpress.org/