Skip to content

Get a random Dad Joke returned via GraphQL query using the WPGraphQL WordPress plugin (https://github.com/wp-graphql/wp-graphql)

Notifications You must be signed in to change notification settings

isabella232/wp-graphql-dad-jokes

 
 

Repository files navigation

WPGraphQL Dad Jokes

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 icanhazdadjoke.com

To query for a dad joke:

{
  dadJoke
}

GraphiQL dadJoke query

About

Get a random Dad Joke returned via GraphQL query using the WPGraphQL WordPress plugin (https://github.com/wp-graphql/wp-graphql)

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 54.7%
  • PHP 28.7%
  • JavaScript 16.6%