Technical
WordPress REST API: The Bridge To A Modern Frontend
The full headless WordPress story is great until you count the moving parts. Two codebases, two deploys, two auth flows, two content models. For most projects the WordPress REST API gives you 80% of the headless benefit at 20% of the cost.
The Hybrid Model
Keep WordPress as the admin (clients love it). Keep the WordPress frontend for the marketing pages (CMS-driven). Add a separate Next.js app that consumes the REST API for the fast dynamic features: search, filtering, account pages, interactive demos.
// Next.js page consuming WordPress REST
export async function getStaticProps() {
const res = await fetch('https://cms.example.com/wp-json/wp/v2/posts?per_page=10')
const posts = await res.json()
return { props: { posts }, revalidate: 60 }
}Ten lines, zero plugins on the WordPress side, cached at the Next.js edge. The marketing team still edits in the admin. The interactive experience runs on Vercel.
Auth When You Need It
For public reads the API works out of the box. For writes you need Application Passwords or a JWT plugin. I use Application Passwords for most things, they ship with core and avoid a plugin dependency.
When To Go Full Headless
Full headless makes sense when the content model is complex, the design language is entirely different from WordPress themes, or multiple frontends consume the same content. For a single marketing site with some dynamic features, hybrid wins on cost and simplicity.
The Admin Stays Familiar
Clients who already use WordPress feel at home. Onboarding time drops. Training materials already exist. You are not asking them to learn a new CMS, just giving the developers a modern tool for specific surfaces.
See the WordPress REST API handbook. The REST API is underrated. It is the quiet bridge between the CMS clients want and the frontend users deserve.
RELATED READING
The Consulting Shift I Am Making In Year Two
After a year of writing and building, my consulting practice is changing shape. Shorter engagements. Sharper outcomes.
ReadThe Frontend Shift: Shipping Less JavaScript In Year Two
A year ago I reached for Next.js for everything. This year I often reach for nothing.
ReadThe Serverless Lesson I Would Write On A Sticky Note
After a year of shipping serverless projects, one rule explains most of the wins and all of the losses.
Read