[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/post-template/ -> block.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/post-template",
   5      "title": "Post Template",
   6      "category": "theme",
   7      "ancestor": [ "core/query" ],
   8      "description": "Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.",
   9      "textdomain": "default",
  10      "usesContext": [
  11          "queryId",
  12          "query",
  13          "displayLayout",
  14          "templateSlug",
  15          "previewPostType",
  16          "enhancedPagination",
  17          "postType"
  18      ],
  19      "supports": {
  20          "anchor": true,
  21          "reusable": false,
  22          "html": false,
  23          "align": [ "wide", "full" ],
  24          "layout": true,
  25          "color": {
  26              "gradients": true,
  27              "link": true,
  28              "__experimentalDefaultControls": {
  29                  "background": true,
  30                  "text": true
  31              }
  32          },
  33          "typography": {
  34              "fontSize": true,
  35              "lineHeight": true,
  36              "__experimentalFontFamily": true,
  37              "__experimentalFontWeight": true,
  38              "__experimentalFontStyle": true,
  39              "__experimentalTextTransform": true,
  40              "__experimentalTextDecoration": true,
  41              "__experimentalLetterSpacing": true,
  42              "__experimentalDefaultControls": {
  43                  "fontSize": true
  44              }
  45          },
  46          "spacing": {
  47              "margin": true,
  48              "padding": true,
  49              "blockGap": {
  50                  "__experimentalDefault": "1.25em"
  51              },
  52              "__experimentalDefaultControls": {
  53                  "blockGap": true,
  54                  "padding": false,
  55                  "margin": false
  56              }
  57          },
  58          "interactivity": {
  59              "clientNavigation": true
  60          },
  61          "__experimentalBorder": {
  62              "radius": true,
  63              "color": true,
  64              "width": true,
  65              "style": true
  66          }
  67      },
  68      "style": "wp-block-post-template",
  69      "editorStyle": "wp-block-post-template-editor"
  70  }


Generated : Wed Jun 17 08:20:09 2026 Cross-referenced by PHPXref