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.
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.
by Stefano Lissa
Hi… Was about to download, but I see you are saying that include it is a little old and recommend using ‘Include Me’ instead. Where do I download that? thanks!
Thank you for your plugin… I’m use it on my site.
This is great. Love the functionality of the iFrame feature. This should really be a huge bonus for me!
Thanks a ton!
Zachary Meiu
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
@Mike
I really like the iFrame feature as well, if you can display content on other pages and sites you can really monitor your own content and reap the benefits.
This is great. I have been using Include It for a week now on my new site and I definitely think it works great!
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.
Pingback: Use an iframe to Display Wordpress Posts | DIY Website
@ maniacooo7 Your theme needs to have the function to use shortcode in widgets in it see
http://www.wprecipes.com/how-to-add-shortcodes-in-sidebar-widgets
How can I get it to work when used in the widget area, not just posts/pages?
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/functions.inc.php 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 !!
.Serge
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/my_include.inc.php]
[/code]
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
Hello,
I have the same problem as Sebastian and even by using an absolute path. Somebody can help me?
Thank you very much
Worked fine for me (WP 3.0.1 / PHP 5.) Used it to include a couple PHP files.
The above error means it can’t find the file you’re trying to include. Use an absolute path, not a relative path, to fix this.
-Erica
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