Include Me In That HTML ~ Plugin
Version 1.0 of the plugin is now available.
This is a embedded file plugin that will include any file into the body of any Wordpress Post or Page.
Look at me!
This is an example of content pulled in from an external file using the Include Me In That HTML ~ Plugin
You can download it and get more details from here.
I’m always looking for suggestions on how I can improve things, any feedback on testing or suggestions for amendments to Include Me In That HTML will be gratefully received.
Please post any comments below…..
Posted in Wordpress |

August 4th, 2007 at 7:06 am
What directory does the included HTML file have to be placed within to work correctly?
August 4th, 2007 at 10:27 am
Thanks for the reminder David, forgot that bit from the documentation:
August 23rd, 2007 at 5:51 pm
I think the directory is supposed to be IMIT_files (lower case f on files) rather than IMIT_Files (upper case F on Files). It only worked after I changed the directory to IMIT_files.
August 28th, 2007 at 10:51 pm
Thanks Melanie, I develop on Windows which lets me get away with case sensitivity sloppyness. On (l)unix the directory must be IMIT_files.
On a related subject, the directory is easily changed, just edit include_me_in_that_html.php and find the line:
$IMIT_directory = 'IMIT_files/';…and amend as you see fit.
September 6th, 2007 at 1:47 pm
It’s an awsome plugin!
I’ve “rated” it on my personal blog:
http://www.dozarte.com/wordpress/2007/08/27/inserire-qualsiasi-cosa-in-un-post-wordpress/
…but it’s a pity we cannot embed PHP o ASP lines of code!
Ciao!
September 6th, 2007 at 2:13 pm
But…
I’m now testing online and I get errors:
“…No such file or directory…” but the file is there!!
Why?!?
I found it: it’s case-sensitive!!! It depends on the server OS.
I changed folder’s name from “IMIT_Files” to “IMIT_files” (but you should check it)
Ciao!
October 26th, 2007 at 10:10 pm
Your plug is great. It almost do everything I want.
Is there a way to automatically add the same text file to certain category. For exemple, when I create a post of category XX, automatically add in the end of the post, if a post from category YY, automatically add and so on …
December 27th, 2007 at 1:52 pm
Krold, nice suggestion, I’ll certainly consider that for a future version.
April 24th, 2008 at 6:39 am
Hi - I’m having trouble - where exactly do I create the IMIT_files directory? I use bluehost and don’t have a directory that is simply wordpress - I have /public_html - and in that folder is wp_content where the plugins directory lives. Also have a /www directory. I’ve tried the IMIN_files directory in each of those, in the plugins folder - where exactly should it be?
I’m getting this error:
Warning: fopen(/IMIT_files/freemealformoms.html) [function.fopen]: failed to open stream: No such file or directory in /home/thedishb/public_html/wp-content/plugins/include-me-in-that-html/include_me_in_that_html.php on line 42
Warning: filesize() [function.filesize]: stat failed for /IMIT_files/freemealformoms.html in /home/thedishb/public_html/wp-content/plugins/include-me-in-that-html/include_me_in_that_html.php on line 43
Warning: fread(): supplied argument is not a valid stream resource in /home/thedishb/public_html/wp-content/plugins/include-me-in-that-html/include_me_in_that_html.php on line 43
Warning: fclose(): supplied argument is not a valid stream resource in /home/thedishb/public_html/wp-content/plugins/include-me-in-that-html/include_me_in_that_html.php on line 44
May 6th, 2008 at 10:47 pm
Alexa, sounds like you don’t have access to the directory you need. I’m going to tidy this up on the forthcoming version of the plugin.
May 6th, 2008 at 11:21 pm
[…] Enhancement: Make IMIT_files directory allocation easier. Enhancement: ‘Automatically add the same text file to certain category. For example, when I create a post of category XX, automatically add in the end of the post, if a post from category YY, automatically add and so on …‘ ~ Thanks Krold […]
May 6th, 2008 at 11:35 pm
[…] Enhancement: Make IMIT_files directory allocation easier. Enhancement: ‘Automatically add the same text file to certain category. For example, when I create a post of category XX, automatically add in the end of the post, if a post from category YY, automatically add and so on …‘ ~ Thanks Krold […]