Add a simple shortcode to include a PHP file just like include(); function does.
How to use
- In pages or posts , add this in the textarea [include]file.php[/include]
- In your template , upload file.php
- You should see the content of file.php when publishing the page or post.
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Can I mix HTML and PHP?
Yes, think of it as the same function of include(); in PHP
Contributors & Developers
“Include HTML and PHP” is open source software. The following people have contributed to this plugin.Contributors