Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (48 sloc) 1.28 KB
title description
Themes
Learn about how to interact with Themes using WPGraphQL

import GraphiQL from '../../components/GraphiQL';

Themes are a core tenant in every WordPress site. WPGraphQL exposes native ways to interact with Themes via GraphQL.

Queries

Query all themes on the site:

Query a specific theme by ID by replacing the ID below with an ID from the response above to query a specific theme:

also see:

Mutations

Right now there are no Mutations related to Themes.

If anyone feels that adding mutations for themes, such as changing the active theme, installing new themes, or deleting themes should be added to WPGraphQL, open an issue and let's discuss.

You can’t perform that action at this time.