2021-05-19 17:09:27 +02:00
|
|
|
{
|
2022-04-12 17:12:47 +02:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2021-05-19 17:09:27 +02:00
|
|
|
"apiVersion": 2,
|
|
|
|
"name": "core/query-pagination",
|
2021-12-06 07:20:27 +01:00
|
|
|
"title": "Pagination",
|
2022-04-12 17:12:47 +02:00
|
|
|
"category": "theme",
|
2021-05-19 17:09:27 +02:00
|
|
|
"parent": [ "core/query" ],
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
},
|
2021-05-19 17:09:27 +02:00
|
|
|
"usesContext": [ "queryId", "query" ],
|
2021-11-08 15:29:21 +01:00
|
|
|
"providesContext": {
|
|
|
|
"paginationArrow": "paginationArrow"
|
|
|
|
},
|
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
|
|
|
},
|
|
|
|
"__experimentalLayout": {
|
|
|
|
"allowSwitching": false,
|
|
|
|
"allowInheriting": false,
|
|
|
|
"default": {
|
|
|
|
"type": "flex"
|
|
|
|
}
|
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"
|
|
|
|
}
|