A minimal theme to use Wordpress without its frontend.
Useful if you want to use wordpress as a headless cms and build your own frontend, integrate it with custom app, or even your mobile app!
In my case, I need to integrate it with my Next.js app. So I deploy my wordpress at wordpress.example.com
and consume the REST API at example.com/blog
.
- Clone this repository.
- Open this repository with your text editor.
- Edit
index.php
. - Change
https://example.com
to your blog or your WP Admin URL. - Zip this repository.
- Upload and activate the theme.
If you don't care about the redirect URL, just download the theme here and upload it to your Wordpress installation.
Happy coding! 😊