WordPress · JSON Structure

Wordpress Theme Structure

A WordPress theme object

Type: object Properties: 9
CMSContent ManagementOpen SourceWordPress

Theme is a JSON Structure definition published by WordPress, describing 9 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

stylesheet template name description status version author author_uri theme_uri

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wordpress/refs/heads/main/json-structure/wordpress-theme-structure.json",
  "name": "Theme",
  "description": "A WordPress theme object",
  "type": "object",
  "properties": {
    "stylesheet": {
      "type": "string",
      "description": "The theme's stylesheet",
      "example": "twentytwentyfive"
    },
    "template": {
      "type": "string",
      "description": "The theme's template",
      "example": "twentytwentyfive"
    },
    "name": {
      "$ref": "#/components/schemas/RenderedContent"
    },
    "description": {
      "$ref": "#/components/schemas/RenderedContent"
    },
    "status": {
      "type": "string",
      "description": "A named status for the theme",
      "example": "active"
    },
    "version": {
      "type": "string",
      "description": "The theme's current version",
      "example": "1.3"
    },
    "author": {
      "$ref": "#/components/schemas/RenderedContent"
    },
    "author_uri": {
      "$ref": "#/components/schemas/RenderedContent"
    },
    "theme_uri": {
      "$ref": "#/components/schemas/RenderedContent"
    }
  }
}