August 14, 2023

A Next.js starter for headless WordPress projects

Next.js WordPress Starter

WebDevStudios. Your Success is Our Mission.

A headless starter for WordPress powered by Next.js

Introduction

Querying a REST-API or GraphQL endpoint and looping over blog posts is where many tutorials about "headless WordPress" stop. You'd be hard pressed to find a deep-dive into advanced functionality because: headless WordPress is hard.

At WebDevStudios we believe that WordPress is so much more than a blog-- and our clients require support for things like: SEO, menus, forms, previews, search, comments, authentication, custom post types, custom fields, etc…

With this framework, we've figured out the "hard stuff" and placed the sum of our knowledge into something both the community and our future projects could use as a jumping off point.

Getting Started

There are two environments, the backend (WordPress) and the frontend (Next.js). Each environment has its own setup instructions.

  1. Backend setup docs
  2. Frontend setup docs

Documentation

Visit https://webdevstudios.github.io/nextjs-wordpress-starter/docs to view all the documentation.

Contributing

There are many ways to contribute to this project:

License

This is free software, and released under the terms of the GNU General Public License version 2 or any later version. Please note, that other packages or libraries may be released under different licenses.