⚙️ Engineering Awaiting Security Review

Headless WordPress

Build headless WordPress sites with the REST API or WPGraphQL. Generates custom post types, ACF field groups, GraphQL queries, and Next.js/Astro frontend integrations for decoupled WordPress architectures.

This skill helps you use WordPress as a headless CMS. It generates custom post types and taxonomies, configures Advanced Custom Fields, builds WPGraphQL queries, creates Next.js or Astro frontends that consume the WordPress API, and implements ISR/SSG for optimal performance.

wordpress headless wpgraphql cms php

When to use

Use when building modern frontends powered by WordPress content, migrating from traditional WordPress to a headless architecture, or when your content team needs WordPress but your dev team wants React.

Examples

Next.js + WordPress

Build a Next.js frontend for WordPress

Set up a Next.js App Router site that fetches blog posts and pages from WordPress via WPGraphQL with ISR revalidation every 60 seconds

Custom post types

Register CPTs and ACF fields in WordPress

Create WordPress custom post types for Events and Speakers with ACF field groups, and expose them via WPGraphQL with proper relationships