illustration for WordPress as a Headless Content Management System (CMS) and GraphQL API

WordPress as a Headless Content Management System (CMS) and GraphQL API

59m closed-captioning
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.4
125
people completed
Bookmark
Download
RSS

WordPress has been around for a long time and powers a huge number of sites.

Just because WordPress isn't brand new doesn't mean it can't get the job done!

Running WordPress as a Headless CMS gives you the benefit of a great content creation experience on the back end with the powerful Gutenberg editor while allowing you to use a modern JavaScript framework on the front-end.

In this course, Kevin Cunningham will guide you through setting up WordPress as a headless CMS from scratch, as well as migrating from an existing WP site. You'll get practice with different WordPress content types, implement a GraphQL endpoint for querying data, and backup & deploy your site. All the while, you'll deepen your understanding of how headless WordPress approaches the relationship between content & rendering.

Using WordPress as a headless CMS turns it into a datasource ready to work with Gatsby, Next.js, or whatever else you want to build with. Your and your clients will be able to take advantage of WordPress's content editing experience, without having to settle for a cookie-cutter theme on the frontend.

With WordPress being decoupled from the rendered site, the database isn't hit for every request. This means faster performance and more security against WordPress exploits. You don't even have to host the editor at the same domain as the published site.

While watching, consider...

  • What are the tradeoffs of using a CMS for a site?
  • Would headless WordPress work for me or my clients in this scenario?

Credits

Kamil Khadeyev (illustration)

Listen to Kevin Cunningham tell you about this course:

What you'll learn

  • Configure a WordPress instance using Local
  • Install & customize WP Plugins
  • Create custom post types
  • Customize and interact with data via the REST API
  • Expose a GraphQL API, and query for exactly what you want
  • Generate fake WordPress data
  • Add Comment functionality

Prerequisites

  • PHP familiarity helpful

Learner Reviews

  • Ian Jones
    2 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Great intro to headless wordpress! loved that Kevin went through how to set up graphql and the rest editor for Gutenberg Blocks.

  • hama
    3 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    One of the best cours about headless wordpress around.

    Merci @Kevin Cunningham

  • Learner
    3 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    A brief and focused overview of how to start your next headless project with either the native Wordpress API or Graphql.

  • heinerbehrends
    3 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    A great introduction to headless wordpress!

  • Greg Miller
    4 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    While the author is a little difficult to understand and he’s moving quickly, you get what you need from context. It was enjoyable and I look forward to trying it out. Thanks so much for pulling it

  • Jonatan
    4 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Explains step by step what I need to build sites using wp and graphql with a plugin we already use in all our sites, ACF.

Course Content

59m • 21 lessons

    You might also like these resources:

    illustration for Introduction to Cloudflare Workers

    Introduction to Cloudflare Workers

    Kristian Freeman・36m・Course

    Become familiar with the Workers CLI wrangler that we will use to bootstrap our Worker project. From there you'll understand how a Worker receives and returns requests/Responses. We will also build this serverless function locally for development and deploy it to a custom domain.

    illustration for Create an eCommerce Store with Next.js and Stripe Checkout

    Create an eCommerce Store with Next.js and Stripe Checkout

    Colby Fayock・1h 4m・Course

    This is a practical project based look at building a working e-commerce store using modern tools and APIs. Excellent for a weekend side-project for your developer project portfolio

    illustration for Practical Git for Everyday Professional Use

    Practical Git for Everyday Professional Use

    Trevor Miller・1h・Course

    git is a critical component in the modern web developers tool box. This course is a solid introduction and goes beyond the basics with some more advanced git commands you are sure to find useful.