[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/post-navigation-link",
   5      "title": "Post Navigation Link",
   6      "category": "theme",
   7      "description": "Displays the next or previous post link that is adjacent to the current post.",
   8      "textdomain": "default",
   9      "attributes": {
  10          "type": {
  11              "type": "string",
  12              "default": "next"
  13          },
  14          "label": {
  15              "type": "string",
  16              "role": "content"
  17          },
  18          "showTitle": {
  19              "type": "boolean",
  20              "default": false
  21          },
  22          "linkLabel": {
  23              "type": "boolean",
  24              "default": false
  25          },
  26          "arrow": {
  27              "type": "string",
  28              "default": "none"
  29          },
  30          "taxonomy": {
  31              "type": "string",
  32              "default": ""
  33          }
  34      },
  35      "usesContext": [ "postType" ],
  36      "supports": {
  37          "anchor": true,
  38          "reusable": false,
  39          "html": false,
  40          "color": {
  41              "link": true
  42          },
  43          "typography": {
  44              "fontSize": true,
  45              "lineHeight": true,
  46              "textAlign": true,
  47              "__experimentalFontFamily": true,
  48              "__experimentalFontWeight": true,
  49              "__experimentalFontStyle": true,
  50              "__experimentalTextTransform": true,
  51              "__experimentalTextDecoration": true,
  52              "__experimentalLetterSpacing": true,
  53              "__experimentalWritingMode": true,
  54              "__experimentalDefaultControls": {
  55                  "fontSize": true
  56              }
  57          },
  58          "shadow": {
  59              "__experimentalSkipSerialization": true
  60          },
  61          "interactivity": {
  62              "clientNavigation": true
  63          },
  64          "spacing": {
  65              "__experimentalSkipSerialization": true,
  66              "margin": true,
  67              "padding": true,
  68              "__experimentalDefaultControls": {
  69                  "margin": false,
  70                  "padding": false
  71              }
  72          },
  73          "__experimentalBorder": {
  74              "__experimentalSkipSerialization": true,
  75              "color": true,
  76              "radius": true,
  77              "style": true,
  78              "width": true,
  79              "__experimentalDefaultControls": {
  80                  "color": false,
  81                  "radius": false,
  82                  "style": false,
  83                  "width": false
  84              }
  85          }
  86      },
  87      "selectors": {
  88          "border": ".wp-block-post-navigation-link:not(:empty)",
  89          "shadow": ".wp-block-post-navigation-link:not(:empty)",
  90          "spacing": ".wp-block-post-navigation-link:not(:empty)"
  91      },
  92      "style": "wp-block-post-navigation-link"
  93  }


Generated : Thu Oct 15 08:20:32 2026 Cross-referenced by PHPXref