equal
deleted
inserted
replaced
3 "apiVersion": 3, |
3 "apiVersion": 3, |
4 "name": "core/query", |
4 "name": "core/query", |
5 "title": "Query Loop", |
5 "title": "Query Loop", |
6 "category": "theme", |
6 "category": "theme", |
7 "description": "An advanced block that allows displaying post types based on different query parameters and visual configurations.", |
7 "description": "An advanced block that allows displaying post types based on different query parameters and visual configurations.", |
|
8 "keywords": [ "posts", "list", "blog", "blogs", "custom post types" ], |
8 "textdomain": "default", |
9 "textdomain": "default", |
9 "attributes": { |
10 "attributes": { |
10 "queryId": { |
11 "queryId": { |
11 "type": "number" |
12 "type": "number" |
12 }, |
13 }, |
23 "search": "", |
24 "search": "", |
24 "exclude": [], |
25 "exclude": [], |
25 "sticky": "", |
26 "sticky": "", |
26 "inherit": true, |
27 "inherit": true, |
27 "taxQuery": null, |
28 "taxQuery": null, |
28 "parents": [] |
29 "parents": [], |
|
30 "format": [] |
29 } |
31 } |
30 }, |
32 }, |
31 "tagName": { |
33 "tagName": { |
32 "type": "string", |
34 "type": "string", |
33 "default": "div" |
35 "default": "div" |
38 "enhancedPagination": { |
40 "enhancedPagination": { |
39 "type": "boolean", |
41 "type": "boolean", |
40 "default": false |
42 "default": false |
41 } |
43 } |
42 }, |
44 }, |
|
45 "usesContext": [ "templateSlug" ], |
43 "providesContext": { |
46 "providesContext": { |
44 "queryId": "queryId", |
47 "queryId": "queryId", |
45 "query": "query", |
48 "query": "query", |
46 "displayLayout": "displayLayout", |
49 "displayLayout": "displayLayout", |
47 "enhancedPagination": "enhancedPagination" |
50 "enhancedPagination": "enhancedPagination" |