![]() ![]() But I didn’t think of that until I had already finished, and I have zero experience developing WordPress plugins or custom Gutenberg blocks, so this is the way I did it! □ Why Not Just IFrame It? I’m sure this method could be turned into a plugin (and probably would actually work better that way, as really this is plugin-style functionality and would only require access to install plugins), or even a custom Gutenberg block. Note that unlike that previous post though, this method requires you to have a hosted version of WordPress and have access to view and modify the PHP files that power your site. But you may still want to follow along here anyway, because this method is a little bit easier to use once its all set up properly. Granted, if your game is fully enclosed and doesn’t communicate with anything outside of the game at all, the iframe method works just fine. you want there to be some interaction between your game and some outside resource, such as a server-side high score table). If you’ve added Unit圓d games using the iframe trick I talked about in my Embed Unit圓d Games in a WordPress Page article, you may have come to realize, as I did, that it doesn’t work that great when the game is not fully self-enclosed (i.e.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |