![]() |
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:
|
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. 3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard. 4. Now, Click on "Upload Plugin" button.
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" 6. Now, Click on " Active Plugin" 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,
![]() |
Guide |
---|
How To UseOnce installed, the plugin adds the function ‘iinclude_page’: void iinclude_page (int post_id [,string params, boolean return = false])
The function takes three parameters: Example 1: using Shortcode API in posts or pagesYou can include a page’s content in a page/post using the syntax:
or
Example 2: basic usage in templatesIf 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 templatesYou can also display the page title using the following code:
ParametersThe current version supports the following parameters:
|
include , page , shortcode , several , options , postpage , template , allows , content , improved , |
Name |
---|
Reffered: https://wordpress.org/