Konami Code Block
Demo of gutenberg plugin created using a Claude skill
by The WordPress Contributors · github.com/daverobinson/konami-code-reveal-gutenberg-block
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/daverobinson/konami-code-reveal-gutenberg-block/archive/refs/heads/main.zipReveal hidden content when the Konami code is entered - a fun interactive block for easter eggs and secret content.
Description
The Konami Code Block allows you to hide content that's revealed when users enter the classic Konami code (↑ ↑ ↓ ↓ ← → ← → B A) or a custom key sequence. Perfect for easter eggs, hidden messages, special offers, or interactive storytelling.
Features:
- Classic Konami code support out of the box
- Custom key sequences (configure your own combination)
- Optional initial content (show something before the code is entered)
- Configurable timeout between keystrokes
- Uses InnerBlocks for flexible content creation
- Built with modern web components
Built with:
- Gutenberg Block Development Skill: https://github.com/DaveRobinson/claude-skill--gutenberg-block
- Konami Web Component: https://github.com/DaveRobinson/konami-lit
Installation
- Upload the plugin files to the
/wp-content/plugins/konami-code-blockdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress
- Add the "Konami Code" block to any post or page
- Add your revealed content (required)
- Optionally enable and configure initial content
- Customize the key sequence if desired (or use the classic Konami code)
Frequently Asked Questions
What is the Konami code?
The Konami code is a famous cheat code sequence: ↑ ↑ ↓ ↓ ← → ← → B A. It originated in Konami video games and became a popular internet easter egg. Learn more: https://en.wikipedia.org/wiki/Konami_Code
Can I use a custom key sequence?
Yes! In the block settings sidebar, you can configure your own sequence of keys instead of the classic Konami code.
Do I have to show initial content?
No, initial content is optional. You can toggle it on/off in the block settings. Only the revealed content is required.
How long do users have to enter the code?
The default timeout between keystrokes is 2 seconds, but you can adjust this in the block settings.
Changelog
0.1.0
- Initial release
- Classic Konami code support
- Custom key sequences
- Optional initial content
- InnerBlocks integration for flexible content