Title: eFortuneCookie
Author: ericitwang
Published: <strong>6 Yulyu 2024</strong>
Last modified: 9 Yulyu 2024

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/efortunecookie/assets/icon-256x256.png?rev=3114395)

# eFortuneCookie

 By [ericitwang](https://profiles.wordpress.org/ericitwang/)

[Download](https://downloads.wordpress.org/plugin/efortunecookie.zip)

 * [Details](https://kab.wordpress.org/plugins/efortunecookie/#description)
 * [Reviews](https://kab.wordpress.org/plugins/efortunecookie/#reviews)
 *  [Installation](https://kab.wordpress.org/plugins/efortunecookie/#installation)
 * [Development](https://kab.wordpress.org/plugins/efortunecookie/#developers)

 [Support](https://wordpress.org/support/plugin/efortunecookie/)

## Description

A plugin to add fortune cookies to WordPress. Import your favourite fortune cookie
sayings and display them in WordPress. You can also customise your fortune cookie
design.

### Description | How to use it

With eFortuneCookie you can have fortune cookie moments when people visit your website.
*
After installing the plugin, you can import your favourite sayings. * To add a fortune
cookie to your WordPress site, you can select it from the Gutenberg Block Editor
by searching for « eFortuneCookie » or using a shortcode (see the Shortcode section
for more details). * After adding a fortune cookie, you can click on it to see the
saying. * The size of the fortune cookie and the font size and colour can be configured.

You can find more information about how to use it: [here](https://www.it-wang.de/wordpress/efortunecookie).

#### Shortcode

You can add a fortune cookie using shortcode with the code « [efortunecookie] ».
It accepts optional parameters. If the parameters are not set, the default values
will be used. Here are the parameters:
 * width: the width of the fortune cookie
image, such as « 200px ». * height: the width of the fortune cookie image, such 
as « 200px ». * font-size: the font size of the fortune cookie saying, such as «
12px ». * font-color: the font color of the fortune cookie saying, such as « %23000080».
This is actually the hexadecimal color « #000080 », but you need to replace « # »
with « %23 ».

To give a complete example, the full shortcode is « [efortunecookie width= »200px»
height= »180px » font-size= »12px » font-color= »%23000080″] ».

## Screenshots

 * [[
 * An opened fortune cookie
 * [[
 * Search for eFortuneCookie
 * [[
 * Customise your fortune cookie
 * [[
 * Check all your sayings
 * [[
 * Import your sayings

## Blocks

This plugin provides 2 blocks.

 *   eFortuneCookie
 *   Gutenberg Block

## Installation

Installation of the plugin is really simple.

 1. Install using one of these options:
 2.  * Install directly from WordPress Admin panel: go to Plugins -> Add New -> Search
       for « eFortuneCookie », and click the Install button.
     * Download the ZIP manually from WordPress’ plugins repository, and upload it 
       through WordPress Admin panel: go to Plugins -> Add New -> Upload Plugin, browse
       to the downloaded Zip and upload it.
     * Download the ZIP, extract it and manually upload the extracted folder through
       FTP to the `/wp-content/plugins/` directory of your WordPress installation.
 3. Activate the plugin through the ‘Plugins’ menu in WordPress.
 4. That’s it!

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“eFortuneCookie” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ ericitwang ](https://profiles.wordpress.org/ericitwang/)

[Translate “eFortuneCookie” into your language.](https://translate.wordpress.org/projects/wp-plugins/efortunecookie)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/efortunecookie/), check
out the [SVN repository](https://plugins.svn.wordpress.org/efortunecookie/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/efortunecookie/)
by [RSS](https://plugins.trac.wordpress.org/log/efortunecookie/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial version for wp.org

## Meta

 *  Version **1.0.0**
 *  Last updated **2 n iseggasen ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **6.5.8**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/efortunecookie/)
 * Tags
 * [cookie](https://kab.wordpress.org/plugins/tags/cookie/)[fortune cookie](https://kab.wordpress.org/plugins/tags/fortune-cookie/)
   [widget](https://kab.wordpress.org/plugins/tags/widget/)
 *  [Advanced View](https://kab.wordpress.org/plugins/efortunecookie/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/efortunecookie/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/efortunecookie/reviews/)

## Contributors

 *   [ ericitwang ](https://profiles.wordpress.org/ericitwang/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/efortunecookie/)