[ 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          "align": [ "wide", "full" ],
  43          "html": false,
  44          "color": {
  45              "gradients": true,
  46              "link": true,
  47              "__experimentalDefaultControls": {
  48                  "background": true,
  49                  "text": true,
  50                  "link": true
  51              }
  52          },
  53          "spacing": {
  54              "margin": true,
  55              "padding": true
  56          },
  57          "typography": {
  58              "fontSize": true,
  59              "lineHeight": true,
  60              "__experimentalFontFamily": true,
  61              "__experimentalFontWeight": true,
  62              "__experimentalFontStyle": true,
  63              "__experimentalTextTransform": true,
  64              "__experimentalTextDecoration": true,
  65              "__experimentalLetterSpacing": true,
  66              "__experimentalDefaultControls": {
  67                  "fontSize": true
  68              }
  69          },
  70          "interactivity": {
  71              "clientNavigation": true
  72          },
  73          "__experimentalBorder": {
  74              "radius": true,
  75              "color": true,
  76              "width": true,
  77              "style": true,
  78              "__experimentalDefaultControls": {
  79                  "radius": true,
  80                  "color": true,
  81                  "width": true,
  82                  "style": true
  83              }
  84          }
  85      },
  86      "style": "wp-block-post-title"
  87  }


Generated : Sat Feb 22 08:20:01 2025 Cross-referenced by PHPXref