headless WordPress means, how it differs from other ways of using WordPress, and how you can use headless WordPress with Gatsby.
A headless WordPress site is one that uses WordPress for managing content and some other custom frontend stack to display that content. Headless WordPress enables content writers to use a familiar interface while giving web developers the flexibility to use any frontend technology stack.
Most WordPress installations use themes, which are a collection of template files, to display content. A WordPress template file mixes HTML with PHP template tags, and controls the layout of a particular page or page type — e.g.
single.php for individual blog posts;
home.php for the home page. The downside of this template-based system is that the content is only available as HTML, using the document structure defined by each template.
gatsby-source-wordpress plugin works with self-hosted WordPress sites and those hosted by WordPress.com. Be aware, however, that the WordPress.com API supports a smaller set of features than that of self-hosted WordPress sites.
Headless WordPress enables content writers to use a familiar interface while giving web developers the flexibility to use any frontend technology stack.