[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/post-date",
   5      "title": "Date",
   6      "category": "theme",
   7      "description": "Display the publish date for an entry such as a post or page.",
   8      "textdomain": "default",
   9      "attributes": {
  10          "textAlign": {
  11              "type": "string"
  12          },
  13          "format": {
  14              "type": "string"
  15          },
  16          "isLink": {
  17              "type": "boolean",
  18              "default": false
  19          },
  20          "displayType": {
  21              "type": "string",
  22              "default": "date"
  23          }
  24      },
  25      "usesContext": [ "postId", "postType", "queryId" ],
  26      "example": {
  27          "viewportWidth": 350
  28      },
  29      "supports": {
  30          "html": false,
  31          "color": {
  32              "gradients": true,
  33              "link": true,
  34              "__experimentalDefaultControls": {
  35                  "background": true,
  36                  "text": true,
  37                  "link": true
  38              }
  39          },
  40          "spacing": {
  41              "margin": true,
  42              "padding": true
  43          },
  44          "typography": {
  45              "fontSize": true,
  46              "lineHeight": true,
  47              "__experimentalFontFamily": true,
  48              "__experimentalFontWeight": true,
  49              "__experimentalFontStyle": true,
  50              "__experimentalTextTransform": true,
  51              "__experimentalTextDecoration": true,
  52              "__experimentalLetterSpacing": true,
  53              "__experimentalDefaultControls": {
  54                  "fontSize": true
  55              }
  56          },
  57          "interactivity": {
  58              "clientNavigation": true
  59          },
  60          "__experimentalBorder": {
  61              "radius": true,
  62              "color": true,
  63              "width": true,
  64              "style": true,
  65              "__experimentalDefaultControls": {
  66                  "radius": true,
  67                  "color": true,
  68                  "width": true,
  69                  "style": true
  70              }
  71          }
  72      }
  73  }


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