Exposing WordPress Custom Post Types via REST API
register_post_type() with show_in_rest: true is just the start. Custom endpoints, field sanitization, and Bearer token auth make it production-ready.
Deep dives into headless CMS architecture, edge authentication, ISR, and more.
Preview titles and abstracts — full access requires membership.
register_post_type() with show_in_rest: true is just the start. Custom endpoints, field sanitization, and Bearer token auth make it production-ready.
The App Router default is Server Components. Client Components are opt-in. Understanding the boundary is the key skill interviewers test.
Time-based ISR is simple but blunt. On-demand revalidation with revalidateTag() lets WordPress trigger precise cache busts without a redeploy.
Why httpOnly cookies beat localStorage for auth tokens, and how Edge Middleware enforces access before a single byte of page JS loads.
How to decouple your WordPress backend from the frontend using the REST API and a modern JS framework.