Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A minimal example of using Eleventy as a static front-end for WordPress via the WP REST API.

A Next.js + Chakra UI web3 template that lets users connect MetaMask and mint customizable NFTs on the Rinkeby testnet.

Next.js clean starter template with prebuilt layout components, Sass styling, and Prettier configured.

Example Next.js app that bundles MDX content with mdx-bundler and live reload via next-remote-watch.

A Turborepo monorepo starter with Next.js, Tailwind CSS, Prisma, and type-safe environment variables.
wp-11ty is a minimal reference implementation that uses the Eleventy static site generator as a front-end for a WordPress website, pulling content through the WordPress REST API and outputting static HTML pages.
wp-11ty is a minimal starter repository created by jhackett1 that demonstrates how to connect Eleventy (11ty) to the WordPress REST API. It takes a WordPress site's posts feed as its input and produces a static site containing a clickable list of posts and a separate static HTML page for each post. The project runs on Node.js and is intended to be a small, readable example rather than a full-featured theme.
npm i and npm start) run the development server on localhost:8080.wp-11ty is for web developers who want to combine the content-editing experience of WordPress with the performance and build tooling of Eleventy. It is also useful for teams that manage larger sites with non-technical content authors who need a familiar WordPress admin interface while the public-facing site is generated as static files. Agencies evaluating a headless WordPress setup can use this repository as a clean starting point.
The project uses Node.js and npm. After installing dependencies with npm i, you start the development server with npm start. During the build, Eleventy fetches the list of posts from the WordPress REST API (the example targets Rolling Stone's WordPress site), generates an index page listing those posts, and creates individual static pages for each post. The generated output is then ready to deploy to any static host.
Yes, the development and build process requires Node.js and npm to be installed on your machine. The project runs on a local development server available at localhost:8080.
Yes, the output is a set of static HTML files, so it can be hosted on any static hosting provider, including Netlify, Vercel, and S3 buckets. The repository itself does not include deployment configuration, but the static output is all that is needed.
The WordPress REST API is a built-in interface that allows external applications to access WordPress content as JSON. wp-11ty uses this API to retrieve posts instead of connecting directly to a database, which keeps the static site generation process simple.
