[ 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          },
  25          "linkTarget": {
  26              "type": "string",
  27              "default": "_self"
  28          }
  29      },
  30      "example": {
  31          "viewportWidth": 500
  32      },
  33      "supports": {
  34          "align": [ "wide", "full" ],
  35          "html": false,
  36          "color": {
  37              "gradients": true,
  38              "link": true,
  39              "__experimentalDefaultControls": {
  40                  "background": true,
  41                  "text": true,
  42                  "link": true
  43              }
  44          },
  45          "spacing": {
  46              "padding": true,
  47              "margin": true,
  48              "__experimentalDefaultControls": {
  49                  "margin": false,
  50                  "padding": false
  51              }
  52          },
  53          "typography": {
  54              "fontSize": true,
  55              "lineHeight": true,
  56              "__experimentalFontFamily": true,
  57              "__experimentalTextTransform": true,
  58              "__experimentalTextDecoration": true,
  59              "__experimentalFontStyle": true,
  60              "__experimentalFontWeight": true,
  61              "__experimentalLetterSpacing": true,
  62              "__experimentalWritingMode": true,
  63              "__experimentalDefaultControls": {
  64                  "fontSize": true
  65              }
  66          },
  67          "interactivity": {
  68              "clientNavigation": true
  69          },
  70          "__experimentalBorder": {
  71              "radius": true,
  72              "color": true,
  73              "width": true,
  74              "style": true
  75          }
  76      },
  77      "editorStyle": "wp-block-site-title-editor",
  78      "style": "wp-block-site-title"
  79  }


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref