include_HTML gets temperamental

A reader asks a question:

I am unable to add the a form object (book.php) after inserting [include_HTML:] into page. Is there any issues with this plugin working with wordpress 2.7.1?

I did a quick test on a 2.7 installation and confirmed that the plugin indeed doesn’t work.   The reason has something to do with how the visual editor in 2.7 works.   Back in the times of WP 2.3, when include_HTML was developed, [include_HTML:] was stored as such.  Now, whatever the reason, the HTML editor transforms it into this:


There are two fixes for this problem:

1. Omit the whitespace between include_HTML: and the URL, like this:


2. If you’re comfortable with PHP coding, open the plugin file (include-html.php), find the include_HTML_display() function in it, and edit one line as described below:

I have updated the plugin code accordingly.

2 thoughts on “include_HTML gets temperamental

Leave a Reply

Your email address will not be published. Required fields are marked *