This plugin hasn’t been updated in over 2 years. 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

Description

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.

Screenshots

  • Simple Example

Installation

  1. Upload simple_include to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

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

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.