Linux 软件免费装
Banner图

Dinosaur Game

开发者 chrisdavidmiles
google
更新时间 2023年4月11日 00:24
捐献地址: 去捐款
PHP版本: 5.2.4 及以上
WordPress版本: 6.2
版权: GPLv2
版权网址: 版权信息

标签

game shortcode chrome dinosaur chromium

下载

1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.0 1.0.7

详情介绍:

This plugin lets you add the dinosaur game from Google Chrome onto your WordPress site. To use it, install the plugin, and use the [dinosaur-game] shortcode wherever you'd like the game to appear.

屏幕截图:

  • The dinosaur game works on all screen sizes.

常见问题:

Can I change how the game looks?

Yes! The HTML markup of the game has classes that make it easy to apply CSS to them. If you like playing with game files, you can also swap out the spritemap with your own by editing the game-sprites-1x.png and game-sprites-2x.png files.

Can I use this on a 404 page or another template file?

Yes! In fact, you can put this game anywhere on your site that you can put a shortcode. Inside post/page content you can use [dinosaur-game]. In a PHP template file you can use: ` `

I don't see the game showing up. What should I do?

  • If you see the message "The dinosaur game can only be used once per page." then that means the page is trying to show the shortcode more than once. Since the game binds to keys (up, down, and spacebar) it wouldn't work well with multiple instances of the game on a single page. So this game only runs once per page or post.
  • If you don't see an error message, and the shortcode still isn't working, check your PHP error log or turn on debug mode to see if another plugin or theme is interfering with this plugin.
Also feel free to ask a question on the WordPress.org support forum.

更新日志:

1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0