WordPlay

0 0

WordPlay - Putting the FUN in dysFUNctional 🎉

WordPlay is a free WordPress® plugin that lets you display a random WordPress® meme from an included set of 32 images.

Whether on the front-end using widgets or shortcodes, or in the dashboard with a custom widget, WordPlay brings a little randomness and joy to your website that just so happens to be powered by WordPress®.

Features 🚀

  1. Dashboard Widget: A custom dashboard widget that displays a random meme in the WordPress® admin area.
  2. Frontend Widget: A sidebar widget that users can add to any widgetized area of their website to show a random meme.
  3. Shortcode: A shortcode [wordplay] that displays a random meme anywhere within posts or pages.

Example 📸

Matt's Scorched Earth Campaign


Table of Contents 📚

Installation 💻

From WordPress® Admin:

  1. Download the WordPlay plugin from the GitHub repository.
  2. In your WordPress® Admin Dashboard, navigate to Plugins > Add New.
  3. Click Upload Plugin, then select the WordPlay.zip file you downloaded.
  4. Click Install Now, then activate the plugin after installation.

Manually:

  1. Download the plugin from the GitHub repository.
  2. Unzip the file and upload the wordplay folder to the /wp-content/plugins/ directory.
  3. Activate the plugin in the Plugins menu within the WordPress® Admin Dashboard.

Usage 🎨

1. Dashboard Widget

  • After activating the plugin, navigate to your WordPress® admin dashboard.
  • You'll see a new widget titled WordPlay Random Image on your dashboard, displaying a random meme from the plugin.

2. Frontend Widget

  • Go to Appearance > Widgets in your WordPress® admin area.
  • Drag the WordPlay widget to any widget area (e.g., Sidebar or Footer).
  • The widget will display a random meme from the plugin's image folder on the frontend.

3. Shortcode

  • Use the shortcode [wordplay] to display a random meme in any page or post.

  • Example usage:

    [wordplay]

  • You can add this shortcode anywhere in the editor, and it will output a random meme.

    • *

Customization ✏️

Currently, the plugin comes with a set of 24 memes included in the public/assets/img/ folder. You can replace these images with your own to customize the memes displayed by the plugin. Just make sure they use one of the supported formats (.jpg, .jpeg, .png, .gif, .webp).

Changing Images:

  1. Navigate to the folder: public/assets/img/.
  2. Replace the images with your own, maintaining the existing image names if possible.

FAQ ❓

1. How can I add more memes to the plugin?

  • You can add more images to the public/assets/img/ folder. The plugin will automatically detect and include them in the random image rotation.

2. Does the plugin support different image formats?

  • Yes! The plugin supports .jpg, .jpeg, .png, .gif, and .webp formats.

3. Can I use the shortcode inside widgets?

  • Yes, simply enable the Shortcode in Widgets option by adding the following code to your theme's functions.php:

    add_filter('widget_text', 'do_shortcode');

    • *

Contributing 🤝

We welcome contributions to enhance this plugin! Here's how you can contribute:

  1. Fork the repository on GitHub.

  2. Clone your fork locally:

    git clone https://github.com/yourusername/wordplay.git

  3. Create a new branch for your feature or bug fix:

    git checkout -b feature-name

  4. Commit your changes:

    git commit -m "Add a meaningful commit message"

  5. Push your changes to your fork:

    git push origin feature-name

  6. Open a Pull Request to the main branch of the original repository.


Contributors 😎

Thank you to every contributor who has helped make the world famous WordPress® dashboard look better.

License 📜

This project is licensed under the GPLv2 License. See the LICENSE file for details.

The following is a list of the most recent releases for this plugin.

  • 1.0.2 - 1.0.2 / Dec 6th, 2024
    SHA256 hash:
    b8949a21733cb1b44f54a8cc70e41ba13422af78e70dc991b4840d276f2d8216
  • 1.0.1 - 1.0.1 / Oct 31st, 2024
    SHA256 hash:
    cbf71d0adf1da8d36c9ca17fcd4556a074cc3acbe2fff0e97f3e21eb68bbb349

The following is a list of the most recent issues for this plugin.

Hash Verification

ZIP files downloaded via this site have an associated SHA256 hash.

Mac

On Mac, you can use the sha256 command to calculate the hash of a downloaded ZIP file. Open terminal and execute:

sha256 [filename]

Where [filename] is the name of the ZIP file. If the hash matches the one on the website, the ZIP file is genuine.

Linux

On Linux, you can use the sha256sum command to calculate the hash of a downloaded ZIP file. From a shell, execute:

sha256sum [filename]

Where [filename] is the name of the ZIP file. If the hash matches the one on the website, the ZIP file is genuine.

Latest Release

The latest official release is below.

1.0.2

Dec 6th, 2024
Download 1.0.2
SHA-256 hash:
b8949a21733cb1b44f54a8cc70e41ba13422af78e70dc991b4840d276f2d8216

Github Repository

This project is located on Github in the repository robertdevore/wordplay.

Star Support Project