Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/debbieawoant/wordpress-fortune-cooke-generator/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
🍪 Fortune Cookie Generator – WordPress Plugin
A fun WordPress plugin that displays a fortune cookie which cracks open to reveal a random fortune.
Features
- 10+ built-in fortunes (expandable)
- Fortune cookie image that switches to "cracked" on click
- Random fortune displayed with animation
- Easy shortcode: [fortune_cookie]
Installation
- Upload the plugin folder to
/wp-content/plugins/. - Activate the plugin in Plugins.
- Add shortcode
[fortune_cookie]in posts or pages.
Customization
- Replace images in
/images/with your own cookie pictures (cookie.png,cookie-broken.png). - Edit
js/fcg-script.jsto add more fortunes.
License
MIT