[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/site-title",
   5      "title": "Site Title",
   6      "category": "theme",
   7      "description": "Displays the name of this site. Update the block, and the changes apply everywhere it’s used. This will also appear in the browser title bar and in search results.",
   8      "textdomain": "default",
   9      "attributes": {
  10          "level": {
  11              "type": "number",
  12              "default": 1
  13          },
  14          "levelOptions": {
  15              "type": "array",
  16              "default": [ 0, 1, 2, 3, 4, 5, 6 ]
  17          },
  18          "textAlign": {
  19              "type": "string"
  20          },
  21          "isLink": {
  22              "type": "boolean",
  23              "default": true,
  24              "role": "content"
  25          },
  26          "linkTarget": {
  27              "type": "string",
  28              "default": "_self",
  29              "role": "content"
  30          }
  31      },
  32      "example": {
  33          "viewportWidth": 500
  34      },
  35      "supports": {
  36          "align": [ "wide", "full" ],
  37          "html": false,
  38          "color": {
  39              "gradients": true,
  40              "link": true,
  41              "__experimentalDefaultControls": {
  42                  "background": true,
  43                  "text": true,
  44                  "link": true
  45              }
  46          },
  47          "spacing": {
  48              "padding": true,
  49              "margin": true,
  50              "__experimentalDefaultControls": {
  51                  "margin": false,
  52                  "padding": false
  53              }
  54          },
  55          "typography": {
  56              "fontSize": true,
  57              "lineHeight": true,
  58              "__experimentalFontFamily": true,
  59              "__experimentalTextTransform": true,
  60              "__experimentalTextDecoration": true,
  61              "__experimentalFontStyle": true,
  62              "__experimentalFontWeight": true,
  63              "__experimentalLetterSpacing": true,
  64              "__experimentalWritingMode": true,
  65              "__experimentalDefaultControls": {
  66                  "fontSize": true
  67              }
  68          },
  69          "interactivity": {
  70              "clientNavigation": true
  71          },
  72          "__experimentalBorder": {
  73              "radius": true,
  74              "color": true,
  75              "width": true,
  76              "style": true
  77          }
  78      },
  79      "editorStyle": "wp-block-site-title-editor",
  80      "style": "wp-block-site-title"
  81  }


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