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 but you should use the new Include Me.

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.


The plugin can be found here.


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

14 thoughts on “Include It

  1. Hi Friends,

    This is Martin Bayless & i am newbie to this astounding forum. I bring about this forum very fascinating and more reassuring thatswhy i am exact much uneasy to join here. I desire all friends are plagiarize me on this trip and i will take to to staying here.

    Thanks a end
    Martin Bayless

  2. It’s the IFRAME feature that clinched it for me – means I can now easily display pages from other sites (particularly affiliate sites) without breaking out of or away from my site. Love it.

  3. Hello ! I’m facing issues when using this plugin. The post in which I insert the code returns :
    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/wazomba1/public_html/domains/dcc1995/wp-content/themes/deepblue/header.php:6) in /home/wazomba1/public_html/domains/dcc1995/forum/index.php on line 29

    Fatal error: Cannot redeclare get_settings() (previously declared in /home/wazomba1/public_html/domains/dcc1995/wp-includes/deprecated.php:848) in /home/wazomba1/public_html/domains/dcc1995/forum/includes/ on line 76
    It looks like a php error, but not sure. My config :
    – php 5.2.11, mysql 5.0.91, apache 2.2.14 on Linux with Deepblue Theme
    – php 5.3.0, mysql 5.1.36, apache 2.2.11 on Windows with GameZOne Theme

    Any help will be greatly appreciate with a cup of coffee !!

  4. It’s ok with a wp3.0 for me to.

    I have add the ligne

    [code][include file=wp-content/themes/name_of_theme/folder_of_my_doc/]

    All the name are case sensible


    J’ai ajouté la ligne ci-dessus dans mon article.

    Tout est sensible à la casse attention aux fautes d’orthographe comme pour un include normal en php …

    Merci pour ce plugin qui m’évite de créer un thème comme je le faisais auparavant 😉

  5. 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/ [function.include]: failed to open stream: No such file or direc tory in /var/www/virtual/ on line 102

    Warn ing: include() [function.include]: Failed open ing ‘/var/www/virtual/’ for inclu sion (include_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/virtual/ on line 102

    using WP3.0.1

Leave a Reply