/tns-wp

Primary LanguagePHP

WordPress REST API Theme

This theme is to be used for headless WordPress websites.

It removes the frontend completely and redirects any non-API calls to the correct URL.

Adds ref URLs to external WYSIWYG links.

Config

To setup the theme, navigate to the inc/config.php file and update the rest_theme_url_redirect function with the Gatsby URL.

Plugins

As well as this theme, the WordPress install will need the following plugins installing.

Expanding Theme

To have more functionality, also add these plugins

Development

This theme will slowly evolve, as the Gatsby theme improves: https://github.com/robmarshall/tns-gatsby