[ 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          "postId"
  19      ],
  20      "supports": {
  21          "anchor": true,
  22          "reusable": false,
  23          "html": false,
  24          "align": [ "wide", "full" ],
  25          "layout": true,
  26          "color": {
  27              "gradients": true,
  28              "link": true,
  29              "__experimentalDefaultControls": {
  30                  "background": true,
  31                  "text": true
  32              }
  33          },
  34          "typography": {
  35              "fontSize": true,
  36              "lineHeight": true,
  37              "__experimentalFontFamily": true,
  38              "__experimentalFontWeight": true,
  39              "__experimentalFontStyle": true,
  40              "__experimentalTextTransform": true,
  41              "__experimentalTextDecoration": true,
  42              "__experimentalLetterSpacing": true,
  43              "__experimentalDefaultControls": {
  44                  "fontSize": true
  45              }
  46          },
  47          "spacing": {
  48              "margin": true,
  49              "padding": true,
  50              "blockGap": {
  51                  "__experimentalDefault": "1.25em"
  52              },
  53              "__experimentalDefaultControls": {
  54                  "blockGap": true,
  55                  "padding": false,
  56                  "margin": false
  57              }
  58          },
  59          "interactivity": {
  60              "clientNavigation": true
  61          },
  62          "__experimentalBorder": {
  63              "radius": true,
  64              "color": true,
  65              "width": true,
  66              "style": true
  67          }
  68      },
  69      "style": "wp-block-post-template",
  70      "editorStyle": "wp-block-post-template-editor"
  71  }


Generated : Wed Jul 29 08:20:18 2026 Cross-referenced by PHPXref