PHP File Inclusion in posts & pages using require, include or similar statements.
As of April 2026, PHPInclusion is a WordPress page plugin with 10 active installations and a 0/5 rating0. It has been downloaded 4.0K+ times in total. Requires WordPress 2.0.2+ and PHP false+. Available on WordPress.org since 2008. Last updated 17 years ago — may have compatibility concerns. Top alternative: Post Type Switcher.
PHPInclusion WordPress plugin allows you (admin only) to insert the content of a php file into your post/page with include(), require() , require_once() and include_once() functions.
Usage :
Copy & Past this code into your post or page :
[include:Path to your php file]
[include_once:Path to your php file]
[require:Path to your php file]
[require_once:Path to your php file]
Examples:
[include:MyPhpFile.php]
[include:MyDir/MyPhpFile.php]
More About PHPInclusion Plugin :
http://www.royakhosravi.com/?p=63
| WordPress | 2.0.2+ requiredTested up to 2.7.1 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.