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
Updated 3 months ago
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.6
50
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

  • Greg Miller
    3 months 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
    3 months 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.

  • Tom Hermans
    3 months ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    very clear approach. Note to egghead: if I'm watching fullscreen I only get the replay button, not the next, nor does it auto progress.. which is really annoying, since I have to close down the fullscreen, wait for the "next video" button to pop, to progress to the next lesson.

  • Will Johnson
    3 months ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Loved this course each lesson was jampacked with info. Showed REST & GraphQL implementations was helpful so I can make my own decision on what to use

  • Lauro Silva
    3 months ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Great work, clear concepts, sweet-short actionable videos. This course will set you up for success if you want to have a great editor experience without sacrificing the developer experience on the frontend.

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.