Headless Theme for use with next-wp
This repository hosts an empty WordPress theme designed for use with a Headless WordPress workflow. It's a joint venture by Bridger Tower and Cameron Youngblood at 9d8.
functions.php: Your functions fileindex.php: Main template filestyle.css: Main stylesheetscreenshot.png: Theme screenshot
- Download the repository as a
.zipfile and upload it to your WordPress site as a theme. Activate the theme and you're ready to go! - Install
Advanced Custom Fieldsand enable the RestAPI for ACF. This will allow you to use ACF fields in your headless application. - Use
functions.phpto create custom post types and taxonomies. You can also use this file to create custom endpoints for your headless application.
This project is open-source, licensed under MIT License.