This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Include HTML and PHP


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.


  • Simple Example


  1. Upload simple_include to the /wp-content/plugins/ directory
  2. 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.


Translate “Include HTML and PHP” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.