2021-05-19 17:09:27 +02:00
|
|
|
{
|
2022-04-12 17:12:47 +02:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2023-06-27 16:24:19 +02:00
|
|
|
"apiVersion": 3,
|
2021-05-19 17:09:27 +02:00
|
|
|
"name": "core/query-pagination",
|
2021-12-06 07:20:27 +01:00
|
|
|
"title": "Pagination",
|
2022-04-12 17:12:47 +02:00
|
|
|
"category": "theme",
|
2024-02-09 19:22:22 +01:00
|
|
|
"ancestor": [ "core/query" ],
|
|
|
|
"allowedBlocks": [
|
|
|
|
"core/query-pagination-previous",
|
|
|
|
"core/query-pagination-numbers",
|
|
|
|
"core/query-pagination-next"
|
|
|
|
],
|
2021-05-19 17:09:27 +02:00
|
|
|
"description": "Displays a paginated navigation to next/previous set of posts, when applicable.",
|
|
|
|
"textdomain": "default",
|
2021-11-08 15:29:21 +01:00
|
|
|
"attributes": {
|
|
|
|
"paginationArrow": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "none"
|
2023-06-27 16:24:19 +02:00
|
|
|
},
|
|
|
|
"showLabel": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
2021-11-08 15:29:21 +01:00
|
|
|
}
|
|
|
|
},
|
2021-05-19 17:09:27 +02:00
|
|
|
"usesContext": [ "queryId", "query" ],
|
2021-11-08 15:29:21 +01:00
|
|
|
"providesContext": {
|
2023-06-27 16:24:19 +02:00
|
|
|
"paginationArrow": "paginationArrow",
|
|
|
|
"showLabel": "showLabel"
|
2021-11-08 15:29:21 +01:00
|
|
|
},
|
2021-05-19 17:09:27 +02:00
|
|
|
"supports": {
|
|
|
|
"align": true,
|
|
|
|
"reusable": false,
|
2021-05-21 12:14:23 +02:00
|
|
|
"html": false,
|
|
|
|
"color": {
|
|
|
|
"gradients": true,
|
2022-04-12 17:12:47 +02:00
|
|
|
"link": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": true,
|
|
|
|
"text": true,
|
|
|
|
"link": true
|
|
|
|
}
|
2021-11-08 15:29:21 +01:00
|
|
|
},
|
2023-06-27 16:24:19 +02:00
|
|
|
"layout": {
|
2021-11-08 15:29:21 +01:00
|
|
|
"allowSwitching": false,
|
|
|
|
"allowInheriting": false,
|
|
|
|
"default": {
|
|
|
|
"type": "flex"
|
|
|
|
}
|
2022-09-20 17:43:29 +02:00
|
|
|
},
|
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"lineHeight": true,
|
|
|
|
"__experimentalFontFamily": true,
|
|
|
|
"__experimentalFontWeight": true,
|
|
|
|
"__experimentalFontStyle": true,
|
|
|
|
"__experimentalTextTransform": true,
|
|
|
|
"__experimentalTextDecoration": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
2024-02-09 19:22:22 +01:00
|
|
|
},
|
|
|
|
"interactivity": {
|
|
|
|
"clientNavigation": true
|
2021-05-21 12:14:23 +02:00
|
|
|
}
|
2021-05-19 17:09:27 +02:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-query-pagination-editor",
|
|
|
|
"style": "wp-block-query-pagination"
|
|
|
|
}
|