Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Widget Embed not working with Wordpress?

A topic by Alaris created Feb 03, 2017 Views: 2,130 Replies: 6
Viewing posts 1 to 4

I've tested it in several other places with much success, but attempting to embed the Widget for my game to my Wordpress site does not work.

I'm able to use other iframe features, like for Youtube, but Itch.io simply does not work.

Any suggestions? Anyone else have the same issue?

Moderator

Nope, I was able to embed a widget just fine on my own WP site. Might be a problem with your theme -- many have all kinds of Javascript doing weird things. Is your blog self-hosted?

(1 edit)

It is simply hosted through Wordpress (going to upgrade to Premium at some point, but it's not self-hosted regardless).

I'll give switching themes a try.

Edit: I'm using the simple Twenty-Sixteen theme. Tried 3 others, and it will not embed.

Does the free-Wordpress not allow Itch.io? Like I said before, it's fine with Youtube embedding... so this would seem arbitrary and weird.

Moderator

I doubt it's anything so specific. More likely, they're only allowing embeds from just a few whitelisted sources -- or else they simply have some Javascript doing bad things in there. Worth a question to WP support, either way.

(+2)

Have you guys figured this out?

(+1)

Unfortunately not yet. If you ever do, please let me know... it would be nice to know how it works.

(+1)

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.

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.