[ 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          "background": {
  41              "__experimentalSkipSerialization": true,
  42              "backgroundImage": true,
  43              "backgroundSize": true,
  44              "gradient": true
  45          },
  46          "color": {
  47              "link": true
  48          },
  49          "typography": {
  50              "fontSize": true,
  51              "lineHeight": true,
  52              "textAlign": true,
  53              "__experimentalFontFamily": true,
  54              "__experimentalFontWeight": true,
  55              "__experimentalFontStyle": true,
  56              "__experimentalTextTransform": true,
  57              "__experimentalTextDecoration": true,
  58              "__experimentalLetterSpacing": true,
  59              "__experimentalWritingMode": true,
  60              "__experimentalDefaultControls": {
  61                  "fontSize": true
  62              }
  63          },
  64          "shadow": {
  65              "__experimentalSkipSerialization": true
  66          },
  67          "interactivity": {
  68              "clientNavigation": true
  69          },
  70          "dimensions": {
  71              "__experimentalSkipSerialization": true,
  72              "minHeight": true,
  73              "minWidth": true
  74          },
  75          "spacing": {
  76              "__experimentalSkipSerialization": true,
  77              "margin": true,
  78              "padding": true,
  79              "__experimentalDefaultControls": {
  80                  "margin": false,
  81                  "padding": false
  82              }
  83          },
  84          "__experimentalBorder": {
  85              "__experimentalSkipSerialization": true,
  86              "color": true,
  87              "radius": true,
  88              "style": true,
  89              "width": true,
  90              "__experimentalDefaultControls": {
  91                  "color": false,
  92                  "radius": false,
  93                  "style": false,
  94                  "width": false
  95              }
  96          }
  97      },
  98      "selectors": {
  99          "background": ".wp-block-post-navigation-link:not(:empty)",
 100          "border": ".wp-block-post-navigation-link:not(:empty)",
 101          "dimensions": ".wp-block-post-navigation-link:not(:empty)",
 102          "shadow": ".wp-block-post-navigation-link:not(:empty)",
 103          "spacing": ".wp-block-post-navigation-link:not(:empty)"
 104      },
 105      "style": "wp-block-post-navigation-link"
 106  }


Generated : Thu Oct 29 08:20:35 2026 Cross-referenced by PHPXref