Found this post while I was looking for help yesterday, thought I'd come back in case anyone else comes across it.
I had this problem too. I've got an up-to-date standard self-hosted WP and if my iframe src was 'itch.io' then the contents of the iframe would disappear, I'd just get a border/empty box kind of effect.
A colleague suggested I looked at plugins, and I used the popular 'advanced iframe' from one - and that works great!
How To Embed WordPress iFrame, with & without plugins
I just pasted in the code from the itch.io widget generator, and dumped it straight into a post in my WP blog, and it works. I've not tried playing the game 'in the widget' - I'm happy having the user see the widget banner and click to go through to my page on itch.io itself.
robsoft
2
Posts
2
Followers
30
Following
A member registered Jul 09, 2018 · View creator page →
Creator of
Pico-8 de-make of the classic Amstrad CPC 464 game, Oh Mummy!
Action
Play in browser
Recent community posts
itch.io Community » itch.io » Questions & Support · Posted in Widget Embed not working with Wordpress?
itch.io Community » itch.io » Questions & Support · Posted in Widget Embed not working with Wordpress?
I had this problem, I've got an up-to-date standard self-hosted WP and it just seemed to eat up iframe contents where the src was itch.io
A colleague suggested I looked at plugins, and I used the popular 'advanced iframe' one - and that works great!
Pretty-much just pasted in the code from the itch.io widget generator, and dumped it straight into a post in my WP blog, and it works. I've not tried playing the game 'in the widget' - I'm happy having the user see the widget banner and click to go through to my page on itch.io itself.