Skip to content

Commit 61b38a8

Browse files
committed
Add WordPress as a headless CMS option
1 parent cfa0000 commit 61b38a8

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

src/site/headless-cms/wordpress.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: WordPress
3+
repo: WordPress/WordPress
4+
homepage: https://wordpress.org/
5+
twitter: WordPress
6+
opensource: "Yes"
7+
typeofcms: "API Driven"
8+
supportedgenerators:
9+
- All
10+
description: The WordPress CMS enables headless development through a built-in REST API and offers extensions to enable methods like GraphQL via a rich plugin ecosystem
11+
---
12+
## What Is WordPress?
13+
14+
WordPress is currently the most popular CMS on the internet today, used by everyone from small DIY bloggers, small and mid-sized agencies, and complex enterprises. Using the built in REST API, WordPress can power amazing headless experiences while providing content editors and managers an extensible and familiar publishing interface.
15+
16+
## Using WordPress as a Headless CMS
17+
18+
The WordPress CMS already gives site developers a method for server-side rendering (SSR) using themes based on PHP templates, but the platform as offers a robust and extensible REST API that allows developers to create headless sites and apps using any manner of frontend technologies.
19+
20+
### REST API
21+
22+
The [WordPress REST API](https://developer.wordpress.org/rest-api/) has been a stable feature of the platform for a number of years, and offers structured access to site content and settings over HTTP. Using existing patterns, developers can extend the API to support custom content types or create unique routes that support any use case that can be created with PHP and its associated libraries and tools.
23+
24+
### WPGraphQL
25+
26+
Using the extensible nature of WordPress' plugin APIs, developers of headless sites can take advantage of the [WPGraphQL plugin](https://www.wpgraphql.com/) to interact with their site's content using GraphQL.

0 commit comments

Comments
 (0)