Include It

Include it is an old plugin that lets to include an external file in a post or in a page. It’s main usage is to include code that cannot be edited safely with the WordPress editor.

Include it can include a PHP page executing it, so it can be used to include external functions in your blog. In my case, I used it many time to embed in blog pages calculators or other small services I wrote with PHP.

There is anew version of Include it, called Inclide me, that I develope to use the short code available with WordPress 2.5. I had not time to submit to WordPress repository that plugin, I hope to find the time to add it ASAP.

Include it can include a external web page with an IFRAME too. This function was added because who use the visual editor cannot add IFRAMEs safely, they will be corrupted when the document is reopened.

Download

The plugin can be found here.

Examples

There are number of examples on the plugin options page. Just install it (doesn’t hurt) and look at that page. Thank you.

One Response to “Include It”

  1. i tried to use it on a Page to include a HTML page inside a spoiler.
    it only produces an error:
    Warn ing: include(/var/www/virtual/domain.de/htdocs/page/some.html) [function.include]: failed to open stream: No such file or direc tory in /var/www/virtual/domain.de/htdocs/page/wp-content/plugins/include-it/plugin.php on line 102

    Warn ing: include() [function.include]: Failed open ing ‘/var/www/virtual/domain.de/htdocs/page/some.html’ for inclu sion (include_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/virtual/domain.de/htdocs/pagee/wp-content/plugins/include-it/plugin.php on line 102

    using WP3.0.1

Leave a Reply

Add an image