i4w_include
This shortcode provides the same functionality as the regular PHP include functionality but as a shortcode within a page or post.
The file system path can be specified as either (a) the full path from the system root or (b) the relative path from the web document root.
[ELSE_include] conditional branching is NOT supported.
Shortcode nesting is NOT supported.
Parameters
Section titled “Parameters”| Parameter | Description | Default | Required |
|---|---|---|---|
| file | The file name with its file system path. | None | Yes |
Example
Section titled “Example”[i4w_include file='/full/path/to/my/file.php'][i4w_include file='relative/path/to/my/file.php']