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