Description
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.
Installation
- Upload the
konami-codefolder to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Configure the plugin settings under Settings > Konami Code
FAQ
-
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.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Customizable Konami Code” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Customizable Konami Code” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
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