WPGraphQL Dad Jokes
This FREE plugin allows you to query random Dad Jokes using GraphQL! This wraps the icanhazdadjoke.com REST API and was created mostly to demonstrate how to build WPGraphQL Extensions.
Official PluginView Plugin on Github
=== Wp Graphql Dad Jokes === Contributors: jasonbahl Donate link: https://wpgraphql.com/ Tags: wpgraphql, graphql, api, dad jokes Requires at least: 4.4 Tested up to: 4.7.5 Stable tag: 0.1.01 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html
This is an extension to the WPGraphQL plugin (https://github.com/wp-graphql/wp-graphql) that adds a
dadJoke root query
that returns a random dad joke from
To query for a dad joke: