A very minimal example showing how to use Eleventy as a static front-end for a WordPress website, using the WP API.
It displays a clickable list of posts from Rolling Stone, and generates a static page for each one.
For smaller sites, you might prefer to fully convert your content to markdown and manage it fully with 11ty. For larger sites with non-technical users, that isn't practical.
Using the API lets you benefit from the developer experience and performance improvements of 11ty, but maintain a good experience for content authors.
You need node.js and npm installed:
npm i
npm start
It should be on localhost:8080
Alternatively check it out on CodeSandbox right now.
It's suitable for any static hosting, including Netlify, Vercel, S3, etc.