這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Customizable Konami Code

外掛說明

This plugin adds the classic Konami Code functionality to your WordPress site. When users enter the Konami Code (Up, Up, Down, Down, Left, Right, Left, Right, B, A) on your site, one of the following actions can happen:

  • Display a custom alert message
  • Redirect to a URL of your choice
  • Add a “bacon” overlay to your site (because why not?)

You can also customize the key sequence to trigger the action.

Features

  • Easy setup through WordPress admin interface
  • Mobile support with touch gestures
  • Three different action types: alert message, page redirect, or “bacon” overlay
  • Customizable key sequence
  • Fully internationalized
  • Compatible with WordPress 5.0+ and PHP 7.4+/8.2+

Credits

  • Original plugin by GraveHeart
  • Uses Konami-JS library by George Mandis

License

This plugin is licensed under the GPL v2 or later.

安裝方式

  1. Upload the konami-code folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure the plugin settings under Settings > Konami Code

常見問題集

What is the Konami Code?

The Konami Code is a cheat code that appears in many Konami video games, and subsequently in popular culture. The code is: Up, Up, Down, Down, Left, Right, Left, Right, B, A.

Can I customize the key sequence?

Yes! You can define your own custom key sequence in the plugin settings.

Does this plugin slow down my site?

No, the plugin loads its JavaScript in the footer with minimal overhead.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Customizable Konami Code〉的開發相關工作。

參與者

將〈Customizable Konami Code〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.0

  • Major update with modern WordPress standards
  • Updated to work with PHP 7.4+/8.2+
  • Improved settings page using WordPress Settings API
  • Added proper internationalization support
  • Updated JavaScript library with touch support

1.0

  • Initial release by GraveHeart