remcoov/jokes

Who doesn't love a good joke?!

Installs: 17

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 0

Type:craft-plugin

v1.0.6 2021-09-15 07:03 UTC

This package is auto-updated.

Last update: 2021-09-15 07:08:53 UTC


README

Who doesn't love a good joke?!

Jokes is a Craft CMS plugin to start your Dashboard-day with some awesome jokes! Includes jokes like:

Dads are like boomerangs.
I hope.

How do you tell HTML from HTML5?
-Try it out in Internet Explorer
-Did it work?
-No?
-It's HTML5.

My wife is really mad at the fact that I have no sense of direction. So I packed up my stuff and right.

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require remcoov/jokes
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Jokes.

Variable

You can also output a single joke in your templates. You can do this simply by using the following code:

{{ craft.jokes.tellMeAJoke|raw }}

Brought to you by remcoov

JokeAPI

A big thanks goes out to the JokeAPI. Read the license here.