(Versions listed most recent first)
- Version 0.4 (tested with WordPress 2.9; release note)
- Version 0.3 (tested with WordPress 2.7 and 2.8; release note)
- Version 0.2 (tested with WordPress 2.7; release note)
- Version 0.1 (tested with WordPress 2.3.3, found to have issues with 2.7; release note)
- Download and unzip the appropriate version file.
- Create an include-html directory on your WordPress server under wp-content/plugins.
- Put include-html.php into that directory.
- Activate the plugin using WordPress’ administrative interface.
To include a remote file or output of a remote script, use:
Since version 0.3, an alternative is available. You can specify an absolute local URL starting with a forward slash to include local HTML or output of a local script (can be handy if you want this to work through a domain name change):
Note that regardless of how you specify the URL, it is output, not code, that will be included. This means that the script whose output is included will be absolutely unaware of WordPress and its internal objects, unless you expressly write it to be aware of them by including the appropriate WordPress core files.