weekn.dev logo
Blogs
34 deploys

next-wp

Nextjs starter with Headless Wordpress

#TypeScript#CSS#JavaScript#Blogs
next-wp preview

Documentation

Next.js Starter for WordPress Headless CMS

> Watch the Demo Video

CleanShot 2025-01-07 at 23 18 41@2x

This is a starter template for building a Next.js application that fetches data from a WordPress site using the WordPress REST API. The template includes functions for fetching posts, categories, tags, authors, and featured media from a WordPress site and rendering them in a Next.js application.

Overview

What's included?

✅ Type-safe data layer with the WordPress RestAPI<br> ✅ Granular access to revalidation and cache tags<br> ✅ Setup for all basic WordPress options: Posts, Pages, Authors, Categories, Tags<br> ✅ Easy integration with custom post types and ACF<br> ✅ Dynamic routes for Posts and Pages<br> ✅ Design system for layout and prose styling (craft-ds.com)<br> ✅ Filter, Search, and Card components<br> ✅ Dynamically rendered sitemap<br> ✅ Dynamically generated metadata<br> ✅ Dynamically generated OG/Twitter Cards for Posts and pages<br> ✅ Responsive Nav and Footer components<br> ✅ Site configuration file<br> ✅ Menu configuration file<br> ✅ Lite and dark mode support<br> ✅ shadcn/ui components and theming<br> ✅ Vercel analytics<br>