Hi Guys,
i have been trying to load some content from an external source using an iframe.
i have included the following code using the text block element of the layout builder.
<iframe style=”width: 100%; height: 900px;” src=”http://www.cchwebsites.com/econtent/iframes/calculators.php” frameborder=”0″></iframe>
for some reason the content doesnt load on the frontend.
the funny thing is if i am editing the page and if i click into the text block element it shows me the content of the external page.
i know usually wordpress only allows to get that done using the editor in text mode.
doesn anyone have a idea why hat happens or is there an better solution to load external content using an iframe ?
I have tried a few plugins without any luck.
btw …. yesterday it worked fine for a couple of times…
here is a link to the page:
http://brownadamsagbayani.com/financial-tools/
many many thanks in advanced
Shorty
Did you try another iframe source (google maps, etc). I think the content of http://www.cchwebsites.com/econtent/iframes/calculators.php is invalid (html & body tags are missing, etc.) and maybe that’s why the browser won’t show it.
Hi Dude,
the weird thing is that is sometimes works fine and sometimes it just doesnt load.
any other iframes are working fine so i also guess that it doesnt load cuz the code is not valid.
im executing the code directly using a plugin called Exec-PHP ;)
it works fine and im happy with the result so far. Its not the best way at all but it is ok.
anyway AS ALWAYS THANKS SO MUCH FOR THE QUICK REPLY AND THE AWESOME SUPPORT !