Skip to content

CodeStarGM/wordpress-headless-blog-nextjs

Repository files navigation

📰 NextPress – A Headless Blog with Next.js + WordPress

NextPress

NextPress is a high-performance, headless blog built with Next.js 14, designed to deliver modern frontend capabilities while using WordPress purely as a backend CMS via its REST API. This separation of concerns gives you the flexibility of modern development practices with the familiarity of WordPress content management.


📸 Demo

Click Here To View Demo

🚀 Features

  • ⚡️ Powered by Next.js 14 – App Router, Streaming, and more
  • 🧠 Uses WordPress as a headless CMS via its REST API
  • 📰 Fully decoupled frontend and backend
  • 📱 Responsive design optimized for all devices
  • 🔍 SEO-friendly rendering strategies
  • 🚀 Super fast loading times thanks to static generation and dynamic rendering
  • 🔄 Manual and static content revalidation supported
  • 💻 Developer-friendly project structure

🧑‍💻 Getting Started (Run Locally)

1. Clone the repository

git clone https://github.com/CodeStarGM/wordpress-headless-blog-nextjs.git

2. Add Environmental Variables

NEXT_PUBLIC_WORDPRESS_URL="https://public-api.wordpress.com/rest/v1.1/sites/[yourDomain].wordpress.com"