[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/post-title",
   5      "title": "Title",
   6      "category": "theme",
   7      "description": "Displays the title of a post, page, or any other content-type.",
   8      "textdomain": "default",
   9      "usesContext": [ "postId", "postType", "queryId" ],
  10      "attributes": {
  11          "level": {
  12              "type": "number",
  13              "default": 2
  14          },
  15          "levelOptions": {
  16              "type": "array"
  17          },
  18          "isLink": {
  19              "type": "boolean",
  20              "default": false,
  21              "role": "content"
  22          },
  23          "rel": {
  24              "type": "string",
  25              "attribute": "rel",
  26              "default": "",
  27              "role": "content"
  28          },
  29          "linkTarget": {
  30              "type": "string",
  31              "default": "_self",
  32              "role": "content"
  33          },
  34          "placeholder": {
  35              "type": "string"
  36          }
  37      },
  38      "example": {
  39          "viewportWidth": 350
  40      },
  41      "supports": {
  42          "anchor": true,
  43          "align": [ "wide", "full" ],
  44          "html": false,
  45          "color": {
  46              "gradients": true,
  47              "link": true,
  48              "__experimentalDefaultControls": {
  49                  "background": true,
  50                  "text": true,
  51                  "link": true
  52              }
  53          },
  54          "spacing": {
  55              "margin": true,
  56              "padding": true
  57          },
  58          "typography": {
  59              "fontSize": true,
  60              "lineHeight": true,
  61              "textAlign": true,
  62              "__experimentalFontFamily": true,
  63              "__experimentalFontWeight": true,
  64              "__experimentalFontStyle": true,
  65              "__experimentalTextTransform": true,
  66              "__experimentalTextDecoration": true,
  67              "__experimentalLetterSpacing": true,
  68              "__experimentalDefaultControls": {
  69                  "fontSize": true
  70              }
  71          },
  72          "interactivity": {
  73              "clientNavigation": true
  74          },
  75          "__experimentalBorder": {
  76              "radius": true,
  77              "color": true,
  78              "width": true,
  79              "style": true,
  80              "__experimentalDefaultControls": {
  81                  "radius": true,
  82                  "color": true,
  83                  "width": true,
  84                  "style": true
  85              }
  86          }
  87      },
  88      "style": "wp-block-post-title"
  89  }


Generated : Tue Jul 7 08:20:13 2026 Cross-referenced by PHPXref