[ 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          "textAlign": {
  12              "type": "string"
  13          },
  14          "level": {
  15              "type": "number",
  16              "default": 2
  17          },
  18          "levelOptions": {
  19              "type": "array"
  20          },
  21          "isLink": {
  22              "type": "boolean",
  23              "default": false,
  24              "role": "content"
  25          },
  26          "rel": {
  27              "type": "string",
  28              "attribute": "rel",
  29              "default": "",
  30              "role": "content"
  31          },
  32          "linkTarget": {
  33              "type": "string",
  34              "default": "_self",
  35              "role": "content"
  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              "__experimentalFontFamily": true,
  62              "__experimentalFontWeight": true,
  63              "__experimentalFontStyle": true,
  64              "__experimentalTextTransform": true,
  65              "__experimentalTextDecoration": true,
  66              "__experimentalLetterSpacing": true,
  67              "__experimentalDefaultControls": {
  68                  "fontSize": true
  69              }
  70          },
  71          "interactivity": {
  72              "clientNavigation": true
  73          },
  74          "__experimentalBorder": {
  75              "radius": true,
  76              "color": true,
  77              "width": true,
  78              "style": true,
  79              "__experimentalDefaultControls": {
  80                  "radius": true,
  81                  "color": true,
  82                  "width": true,
  83                  "style": true
  84              }
  85          }
  86      },
  87      "style": "wp-block-post-title"
  88  }


Generated : Tue Jun 16 08:20:09 2026 Cross-referenced by PHPXref