This theme removes everything visible from the WordPress and sets up some good practices and conventions for the REST API, and overall as well.
Add the following lines to your composer.json
Under 'repositories', add:
{
"type": "git",
"url": "https://github.com/redandbluefi/wp-headless-theme.git"
}
Under 'require', add:
"redandbluefi/wp-headless-theme": "dev-master",
Note: Currently requires ACF to REST plugin
Should work with Polylang
Inspired by https://github.com/postlight/headless-wp-starter, big thanks 🙏