WP Manifestindependent plugin directory
manifest / utilities / wordpress-fortune-cooke-generator

Fortune Cookie Generator

Add a little fun and mystery to your WordPress site! This plugin displays a fortune cookie that cracks open to reveal a random fortune when visitors press the “What’s my fortune?” button.

★ 0stars

Install

Download source zip No release zip yet

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.zip
No 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

  1. Upload the plugin folder to /wp-content/plugins/.
  2. Activate the plugin in Plugins.
  3. 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.js to add more fortunes.

License

MIT