insereIframe: a simple wordpress plugin to insert iframe in posts
English
A simple way to insert iframes in your wordpress posts
How to install
Download http://blog.idealmind.com.br/exemplos/plugins_wordpress/insereIframe/insereIframe_v1.5.zip
Unzip the file to your /wp-content/plugins/ directory
Activate plugin
Usage
To insert an iframe in your post, insert the code below in the place that you want the iframe (without spaces between [ and iframe: ):
[ iframe: src="http://www.example.com" frameborder="0" width="100%" height="200" scrolling="no"]
You can set any attribute that you want (see a list of possible attribues in http://www.w3schools.com/TAGS/tag_iframe.asp).
Enjoy!
Português
Uma forma muito fácil de inserir iframes nos seus posts do wordpress
Como instalar
Faça o download em http://blog.idealmind.com.br/exemplos/plugins_wordpress/insereIframe/insereIframe_v1.5.zip
Descompacte o arquivo na pasta /wp-content/plugins/
Ative o plugin pelo wordpress
Como usar
Para inserir um ifame em seu post, no local em que você quer que o iframe apareça, insira o código como no exemplo abaixo (sem espaços entre [ e iframe: ):
[ iframe: src="http://www.exemplo.com" frameborder="0" width="100%" height="200" scrolling="no"]
Usando esse plugin, você pode usar todos os atributos de um iframe (veja http://www.w3schools.com/TAGS/tag_iframe.asp).

When I reverted my website back, iframe still won’t work and gives the same error. Then I tried reinstalling wordpress to my root and iframe still won’t work! Any ideas? iframe was working fine, but once I tried changing my directory structure it just won’t work now.
It seems that the plugin was corrupted.
Try uninstall the plugin and install it again…
Well, this error occurs when the PHP version in your server is less than 5.2.
I did an version of InsereIframe for PHP 4: http://blog.idealmind.com.br/exemplos/plugins_wordpress/insereIframe/insereIframe.txt
Try use it!
Best regards
yes, it does sound like it’s corrupted, but i have deleted the plugin manually and re-uploaded my backup, same error message. then I’ve used the wordpress panel to delete and reinstall directy fronm wordpress, same error message. it’s almost like there’s some file hidden in there somewhere that is stuck. any other suggestions?
Thanks
You can edit the plugin to do it:
Change the code
function insereIframe( $content )
{
$content = InsereIframe::substituiIframe( $content );
return $content;
}
to
function insereIframe( $content )
{
if( is_category() )
{
return false;
}
$content = InsereIframe::substituiIframe( $content );
return $content;
}
Hi, Thanks for that but it does not work. Still displays as normal the whole iframe code. Any ideas?
It works fine when I publish a normal url with http://alistairmills.com for example. However when I do one with https for example https://regonline.activeeurope.com/twocastlesrun2011 nothing display. When I look at the html on the web page, it appears to be there, but is invisible!
Tem alguma idea? Falava portugues ha muitos anos quando trabalhava no Brasil mais, nunca falo porugues agora!
Muito obrigado. Um abraco.
Alistair
Look up for some code in the child page that is resizing or bannig the iframe.
Best regards
thank you
I want a code of “Eyes-pupils” used in your website
http://alistairmills.com/
can you send me, that code?
I would like to use it on my blog.
Hope this finds you in positive light
I’ve been searching for your insere iframe plugin…and can’t find it
The download link seems to not exist…
Is there another way to get your fabulous plugin?
My appreciation,
Aline